Skip to content

Commit

Permalink
all: bump to 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
enr0n committed Aug 24, 2024
1 parent fb4503d commit be6bdb0
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 26 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
on: [push, pull_request]
name: Lint
name: golangci-lint

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read

jobs:
lint:
strategy:
matrix:
go-version: [1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.23.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
10 changes: 3 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ linters:
enable:
# - asciicheck
- bodyclose
- deadcode
- unused
- depguard
- dogsled
- dupl
Expand All @@ -32,17 +32,15 @@ linters:
# - gofumpt
# - goheader
- goimports
- golint
- revive
# - gomnd
# - gomodguard
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- interfacer
# - lll
- maligned
- misspell
- nakedret
# - nestif
Expand All @@ -51,16 +49,14 @@ linters:
# - nolintlint
- prealloc
- rowserrcheck
- scopelint
- exportloopref
# - sqlclosecheck
- staticcheck
- structcheck
- stylecheck
# - testpackage
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
# - wsl
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/strongswan/govici

go 1.20
go 1.23

0 comments on commit be6bdb0

Please sign in to comment.