Merge pull request 'Fix NewDockerNetworkCreateExecutor in docker_stub' (#39) from tmb/act:fix-docker_stub into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/39 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
This commit is contained in:
commit
65054ab93c
2 changed files with 3 additions and 1 deletions
|
@ -39,6 +39,8 @@ jobs:
|
||||||
run: go vet -v ./...
|
run: go vet -v ./...
|
||||||
- name: build
|
- name: build
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
|
- name: build without docker
|
||||||
|
run: go build -tags WITHOUT_DOCKER -v ./...
|
||||||
- name: test
|
- name: test
|
||||||
run: go test -v ./pkg/jobparser
|
run: go test -v ./pkg/jobparser
|
||||||
# TODO test more packages
|
# TODO test more packages
|
||||||
|
|
|
@ -56,7 +56,7 @@ func NewDockerVolumeRemoveExecutor(volume string, force bool) common.Executor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewDockerNetworkCreateExecutor(name string) common.Executor {
|
func NewDockerNetworkCreateExecutor(name string, config *types.NetworkCreate) common.Executor {
|
||||||
return func(ctx context.Context) error {
|
return func(ctx context.Context) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue