Skip to content

Commit

Permalink
update go version in github workflows
Browse files Browse the repository at this point in the history
Remote-Ref: brandonpollack23/30597e61
  • Loading branch information
brandonpollack23 committed Sep 25, 2024
1 parent 74643ed commit 6cfae6e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Improvements-647.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
component: runtime
kind: Improvements
body: update go version for github workflows
time: 2024-09-25T14:50:03.581885966+09:00
custom:
PR: "647"
8 changes: 4 additions & 4 deletions .github/workflows/stage-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ permissions: read-all

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOLANGCI_LINT_VERSION: v1.55
GO_VERSION: v1.21.x
GOLANGCI_LINT_VERSION: v1.60
GO_VERSION: v1.23.x

jobs:
lint:
Expand All @@ -22,7 +22,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache-dependency-path: |
**/go.sum
- run: go mod tidy -go=1.21
- run: go mod tidy -go=1.23
- name: Fail if go mod tidy changed go.mod
run: |
if [ -n "$(git status --porcelain)" ]; then
Expand Down Expand Up @@ -50,6 +50,6 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.23.x
- name: Lint
run: make lint-copyright
2 changes: 1 addition & 1 deletion .github/workflows/stage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.21.x]
go-version: [1.23.x]
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/pulumi/pulumi-yaml

go 1.21
go 1.23

require (
github.com/blang/semver v3.5.1+incompatible
Expand Down

0 comments on commit 6cfae6e

Please sign in to comment.