1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-26 22:09:55 +02:00

more unit tests and corresponding refactoring (#174)

This commit is contained in:
eric sciple 2020-03-02 11:33:30 -05:00 committed by GitHub
parent 096e927750
commit f219062370
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 1049 additions and 305 deletions

View file

@ -2,10 +2,10 @@ import * as core from '@actions/core'
import * as fsHelper from './fs-helper'
import * as github from '@actions/github'
import * as path from 'path'
import {ISourceSettings} from './git-source-provider'
import {IGitSourceSettings} from './git-source-settings'
export function getInputs(): ISourceSettings {
const result = ({} as unknown) as ISourceSettings
export function getInputs(): IGitSourceSettings {
const result = ({} as unknown) as IGitSourceSettings
// GitHub workspace
let githubWorkspacePath = process.env['GITHUB_WORKSPACE']