diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f7f4f0..83e726d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,16 +13,17 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-go@v6 with: - go-version: "~1.22" + go-version-file: "go.mod" - name: Get Go cache paths id: go-cache-paths + shell: bash run: | - echo "::set-output name=go-build::$(go env GOCACHE)" - echo "::set-output name=go-mod::$(go env GOMODCACHE)" + echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT + echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT - name: Go build cache uses: actions/cache@v4 diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index 824a108..08c2b20 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -24,7 +24,7 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: azure/setup-helm@v4 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 551f9d0..5aa8df7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -26,11 +26,11 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-go@v6 with: - go-version: 1.24.2 + go-version-file: "go.mod" - name: golangci-lint - uses: golangci/golangci-lint-action@v7.0.0 + uses: golangci/golangci-lint-action@v8.0.0 with: version: v2.1.2 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 839a122..4e520e3 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -18,7 +18,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: robinraju/release-downloader@v1.12 with: repository: "coder/code-marketplace" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e8bca42..5183ae6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -32,16 +32,17 @@ jobs: - macos-latest - windows-2022 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-go@v6 with: - go-version: "~1.22" + go-version-file: "go.mod" - name: Echo Go Cache Paths id: go-cache-paths + shell: bash run: | - echo "::set-output name=go-build::$(go env GOCACHE)" - echo "::set-output name=go-mod::$(go env GOMODCACHE)" + echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT + echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT - name: Go Build Cache uses: actions/cache@v4