Skip to content

Commit

Permalink
tweaking the github action file
Browse files Browse the repository at this point in the history
  • Loading branch information
slzakaria committed Aug 3, 2024
1 parent e773b28 commit 2dbc5f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: '1.22'
go-version: '1.22'

- name: Cache Go modules
uses: actions/cache@v3
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
go-version: '1.22'

- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
go-version: '1.22'

- name: Build
run: go build -v -o myapp ./...
Expand Down

0 comments on commit 2dbc5f5

Please sign in to comment.