diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 6cdd9eb..40d6374 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.19' + go-version: '1.22.2' cache: false - name: Refresh CLI docs run: go run internal/cli-docgen.go @@ -30,25 +30,21 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.19' + go-version: '1.22.2' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.53.3 + version: v1.59.0 go-test: name: testing - strategy: - matrix: - go-version: ['1.19.x', '1.20.x'] - os: [ubuntu-latest] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go-version }} + go-version: '1.22.2' - name: Checkout code uses: actions/checkout@v4 - name: Test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4eefd6f..7d30142 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version: '1.22.2' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 diff --git a/go.mod b/go.mod index 6899f9a..ee31464 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/ioki-mobility/go-outline go 1.20 +toolchain go1.22.3 + require ( github.com/rsjethani/rsling v0.2.0 github.com/spf13/cobra v1.8.0