Skip to content

Commit

Permalink
Use Go 1.22.x
Browse files Browse the repository at this point in the history
And use the latest version of setup-go.
  • Loading branch information
justinvp committed Feb 19, 2024
1 parent 866d57a commit 880e5bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/stage-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set up Go 1.20.x
uses: actions/setup-go@v3
- name: Set up Go 1.22.x
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x
- run: go mod tidy
- name: Fail if god mod not tidy
run: |
Expand All @@ -40,9 +40,9 @@ jobs:
uses: jaxxstorm/action-install-gh-release@v1.5.0
with:
repo: pulumi/pulumictl
- name: Set up Go 1.18.x
uses: actions/setup-go@v3
- name: Set up Go 1.22.x
uses: actions/setup-go@v5
with:
go-version: 1.18.x
go-version: 1.22.x
- name: Lint
run: make lint-copyright
4 changes: 2 additions & 2 deletions .github/workflows/stage-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Unshallow clone for tags
run: git fetch --prune --unshallow --tags || true
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
ref: ${{ inputs.commit-ref }}

- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
stable: ${{ matrix.go-stable }}
Expand Down Expand Up @@ -89,5 +89,5 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.20.x]
go-version: [1.22.x]
go-stable: [true]

0 comments on commit 880e5bb

Please sign in to comment.