diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 576ed595..f453d2e8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3.3.0 with: - go-version: 1.18 + go-version: 1.19 check-latest: true - name: Build diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index d9969b69..c234f1d8 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -49,7 +49,7 @@ jobs: - name: Set up Go uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3.3.0 with: - go-version: 1.18 + go-version: 1.19 check-latest: true - name: Test Sign and Verify commit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53b00e27..48a49af3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3.3.0 with: - go-version: 1.18 + go-version: 1.19 check-latest: true - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8 diff --git a/.github/workflows/validate-release.yml b/.github/workflows/validate-release.yml index d8d05a17..bc0c6d26 100644 --- a/.github/workflows/validate-release.yml +++ b/.github/workflows/validate-release.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3.3.0 with: - go-version: 1.18 + go-version: 1.19 check-latest: true - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8 diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 14423709..6c2c1a84 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 - uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3.3.0 with: - go-version: 1.18 + go-version: 1.19 check-latest: true - name: Install addlicense run: go install github.com/google/addlicense@v1.0.0 @@ -32,10 +32,10 @@ jobs: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 - uses: actions/setup-go@268d8c0ca0432bb2cf416faae41297df9d262d7f # v3.3.0 with: - go-version: 1.18 + go-version: 1.19 check-latest: true - name: golangci-lint uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3.2.0 timeout-minutes: 5 with: - version: v1.48.0 + version: v1.49.0 diff --git a/.golangci.yml b/.golangci.yml index 0392f895..827bbc13 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,6 @@ linters: enable: - asciicheck - - deadcode - depguard - errcheck - errorlint @@ -17,6 +16,7 @@ linters: - tparallel - unconvert - unparam + - unused - whitespace output: uniq-by-line: false diff --git a/go.mod b/go.mod index cfd2bba7..91f816c4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/sigstore/gitsign -go 1.18 +go 1.19 require ( github.com/coreos/go-oidc/v3 v3.4.0