Skip to content

Commit

Permalink
Merge pull request #1154 from synfinatic/go-version
Browse files Browse the repository at this point in the history
update go version to latest
  • Loading branch information
synfinatic authored Feb 5, 2025
2 parents 322a523 + 5f0070d commit 14c50d6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
types: [created]

env:
GO_VERSION: '1.22.5'
GO_VERSION: '${{ vars.GO_VERSION }}'

jobs:
# most binaries can be built on linux machine which is the most cost-efficient on GitHub actions
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
go-version: '${{ vars.GO_VERSION }}'

- name: Run Makefile
run: |
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
go-version: '${{ vars.GO_VERSION }}'

- name: Run Makefile
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ vars._GO_VERSION }}'
go-version: '${{ vars.GO_VERSION }}'


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ permissions:
# pull-requests: read

env:
GO_VERSION: '1.22.5'
GOLANGCI_LINT_VERSION: 'v1.60.3'
GO_VERSION: '${{ vars.GO_VERSION }}'
GOLANGCI_LINT_VERSION: '${{ vars.GOLANGCI_LINT_VERSION }}'


jobs:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
- name: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: '${{ env.GO_VERSION }}'
go-version-input: '${{ vars.GO_VERSION }}'
go-package: ./...

golangci:
Expand All @@ -57,13 +57,13 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
go-version: '${{ vars.GO_VERSION }}'
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: '${{ env.GOLANGCI_LINT_VERSION }}'
version: '${{ vars.GOLANGCI_LINT_VERSION }}'

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/synfinatic/aws-sso-cli

go 1.22
go 1.23

toolchain go1.22.5
toolchain go1.23.6

require (
github.com/99designs/keyring v1.2.2
Expand Down

0 comments on commit 14c50d6

Please sign in to comment.