Skip to content

Commit

Permalink
upgrade go to 1.19 (#145)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato authored Sep 26, 2022
1 parent a7cf346 commit 1d87be8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
linters:
enable:
- asciicheck
- deadcode
- depguard
- errcheck
- errorlint
Expand All @@ -17,6 +16,7 @@ linters:
- tparallel
- unconvert
- unparam
- unused
- whitespace
output:
uniq-by-line: false
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/sigstore/gitsign

go 1.18
go 1.19

require (
github.com/coreos/go-oidc/v3 v3.4.0
Expand Down

0 comments on commit 1d87be8

Please sign in to comment.