Skip to content

Commit

Permalink
Update go version (#469)
Browse files Browse the repository at this point in the history
- The checks that have been disabled will be re-enabled in #470
  • Loading branch information
komuw authored Aug 14, 2024
1 parent a5488e2 commit 55b690d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
timeout-minutes: 1
strategy:
matrix:
go-version: ['>=1.22.4']
go-version: ['>=1.23.0']
platform: [ubuntu-22.04]
runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
timeout-minutes: 7
strategy:
matrix:
go-version: ['>=1.22.4']
go-version: ['>=1.23.0']
platform: [ubuntu-22.04]
runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
timeout-minutes: 8
strategy:
matrix:
go-version: ['>=1.22.4']
go-version: ['>=1.23.0']
platform: [ubuntu-22.04]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -126,7 +126,7 @@ jobs:
go install honnef.co/go/tools/cmd/staticcheck@latest
go install github.com/securego/gosec/cmd/gosec@latest
go install github.com/quasilyte/go-ruleguard/cmd/ruleguard@latest
go install github.com/orijtech/structslop/cmd/structslop@latest
# go install github.com/orijtech/structslop/cmd/structslop@latest
go install github.com/orijtech/httperroryzer/cmd/httperroryzer@latest
go install golang.org/x/tools/cmd/stress@latest
go install golang.org/x/tools/cmd/goimports@latest
Expand All @@ -138,8 +138,7 @@ jobs:
go install golang.org/x/vuln/cmd/govulncheck@latest
go install github.com/mdempsky/unconvert@latest
go install github.com/zricethezav/gitleaks/v8@latest
# go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@latest
go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@v0.0.0-20240209071109-59a057980d9b
go install gvisor.dev/gvisor/tools/checklocks/cmd/checklocks@latest
/home/runner/go/bin/staticcheck -version
env:
Expand All @@ -156,7 +155,7 @@ jobs:
go vet -all ./...
go vet -vettool=/home/runner/go/bin/shadow -strict ./...
go vet -vettool=/home/runner/go/bin/nilness -test ./...
/home/runner/go/bin/checklocks -test=false ./...
# /home/runner/go/bin/checklocks -test=false ./...
/home/runner/go/bin/staticcheck -tests ./...
/home/runner/go/bin/govulncheck ./...
# /home/runner/go/bin/gosec ./... # does not seem to work with Go1.21
Expand Down Expand Up @@ -189,7 +188,7 @@ jobs:
# deadlock detection
# https://github.com/cockroachdb/cockroach/issues/7972
go get github.com/sasha-s/go-deadlock
go get -u github.com/sasha-s/go-deadlock
find . -name "*.go" | xargs -n 1 sed -i.backup 's/sync.RWMutex/deadlock.RWMutex/'
find . -name "*.go" | xargs -n 1 sed -i.backup 's/sync.Mutex/deadlock.Mutex/'
find . -name '*.backup' -delete
Expand All @@ -208,7 +207,7 @@ jobs:
timeout-minutes: 3
strategy:
matrix:
go-version: ['>=1.22.4']
go-version: ['>=1.23.0']
platform: [ubuntu-22.04]
runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -265,7 +264,7 @@ jobs:
# timeout-minutes: 2
# strategy:
# matrix:
# go-version: ['>=1.22.4']
# go-version: ['>=1.23.0']
# platform: [ubuntu-22.04]
# runs-on: ${{ matrix.platform }}
# steps:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Most recent version is listed first.


# v0.1.7
- Update go version; https://github.com/komuw/ong/pull/469

# v0.1.6
- Bump versions of dependencies used

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/komuw/ong

go 1.22
go 1.23

require (
golang.org/x/crypto v0.26.0
Expand Down

0 comments on commit 55b690d

Please sign in to comment.