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:
earl-warren 2024-04-04 08:07:16 +00:00
commit 65054ab93c
2 changed files with 3 additions and 1 deletions

View file

@ -39,6 +39,8 @@ jobs:
run: go vet -v ./...
- name: build
run: go build -v ./...
- name: build without docker
run: go build -tags WITHOUT_DOCKER -v ./...
- name: test
run: go test -v ./pkg/jobparser
# TODO test more packages

View file

@ -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 nil
}