Skip to content

Commit

Permalink
ci: update to latest version
Browse files Browse the repository at this point in the history
Signed-off-by: Fatih Arslan <[email protected]>
  • Loading branch information
fatih committed Apr 2, 2024
1 parent 270a811 commit bc53529
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: build
on:
push:
branches:
- master
- main
tags:
- 'v*'
Expand All @@ -18,12 +17,12 @@ jobs:
steps:

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '>=1.19.0'
go-version: '>=1.22.0'

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run go mod tidy
run: |
Expand All @@ -42,10 +41,10 @@ jobs:
run: |
go test -race ./...
- name: Lint
uses: dominikh/staticcheck-action@v1.2.0
- name: Staticcheck
uses: dominikh/staticcheck-action@v1.3.0
with:
version: "2022.1.1"
version: "2023.1.7"
install-go: false

- name: Build
Expand Down

0 comments on commit bc53529

Please sign in to comment.