Merge branch 'master' of github.com:nektos/act
This commit is contained in:
commit
76ecede42e
|
@ -81,7 +81,7 @@ func (rc *RunContext) startJobContainer() common.Executor {
|
|||
bindModifiers = ":delegated"
|
||||
}
|
||||
|
||||
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TOOL_CACHE", "/toolcache"))
|
||||
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TOOL_CACHE", "/opt/hostedtoolcache"))
|
||||
|
||||
binds := []string{
|
||||
fmt.Sprintf("%s:%s", "/var/run/docker.sock", "/var/run/docker.sock"),
|
||||
|
|
|
@ -159,7 +159,7 @@ func (sc *StepContext) newStepContainer(ctx context.Context, image string, cmd [
|
|||
bindModifiers = ":delegated"
|
||||
}
|
||||
|
||||
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TOOL_CACHE", "/toolcache"))
|
||||
envList = append(envList, fmt.Sprintf("%s=%s", "RUNNER_TOOL_CACHE", "/opt/hostedtoolcache"))
|
||||
|
||||
binds := []string{
|
||||
fmt.Sprintf("%s:%s", "/var/run/docker.sock", "/var/run/docker.sock"),
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
name: CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
linter:
|
||||
name: "Linting Python Code"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v1.1.1
|
||||
with:
|
||||
python-version: 3.7
|
||||
|
||||
- run: python -c "import sys; print(sys.version)"
|
Loading…
Reference in New Issue