Skip to content

Commit

Permalink
update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorVin committed Oct 4, 2024
1 parent 905f875 commit c8a8b6e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push-pr-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version-file: go.mod
- name: Checkout code
uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
args: --config .golangci.yml --timeout 2m
version: v1.57.1
version: v1.61.0
skip-cache: true
- name: Test
run: go test ./...
Expand All @@ -24,9 +24,9 @@ jobs:
needs: [lint-test]
steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version-file: go.mod

- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:

- name: Build flipflop Docker image - no push
id: dockerbuild-flipflop
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
push: false
Expand Down

0 comments on commit c8a8b6e

Please sign in to comment.