Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,22 @@ jobs:
fail-fast: false
matrix:
os:
- macos-11
- macos-12
- ubuntu-22.04
- macos-13
- macos-14
- ubuntu-24.04
- windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: '^1.18.4'
cache: true
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: v1.48
skip-pkg-cache: true
skip-build-cache: true
version: v1.62.2
args: --timeout=30m
- run: go run mage.go test
- run: go run mage.go snapshot
if: ${{ matrix.os }} == 'ubuntu-22.04'
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ jobs:
name: Release
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: '^1.18.4'
cache: true
go-version-file: go.mod
- run: go run mage.go release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 1 addition & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,19 @@ linters:
- bodyclose
- decorder
- durationcheck
- err113
- errchkjson
- errname
- errorlint
- execinquery
- exhaustive
- exportloopref
- gocritic
- goerr113
- gofmt
- goimports
- goprintffuncname
- gosec
- importas
- misspell
- nolintlint
- nosnakecase
- prealloc
- predeclared
- promlinter
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/curioswitch/go-reassign

go 1.18
go 1.21

require (
github.com/magefile/mage v1.14.0
Expand Down