Skip to content

Commit

Permalink
github/workflows: -mod readonly is the default behavior in Go 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Feb 20, 2021
1 parent 84286b8 commit fc95b4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: go-build
if: github.event.ref_type == 'tag'
run: go build -o fake-gcs-server -mod readonly
run: go build -o fake-gcs-server
env:
CGO_ENABLED: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
go-version: 1.16

- name: go-build
run: go build -o fake-gcs-server -mod readonly
run: go build -o fake-gcs-server
env:
CGO_ENABLED: 0

Expand Down

0 comments on commit fc95b4b

Please sign in to comment.