From b444404b38fcb3b9c70796011b4dd275de0ba228 Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Mon, 25 Nov 2024 17:40:51 -0600 Subject: [PATCH] update ci --- .github/workflows/pushes.yaml | 13 +++++-------- .github/workflows/release.yaml | 8 ++++---- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pushes.yaml b/.github/workflows/pushes.yaml index 66335de..8e057c1 100644 --- a/.github/workflows/pushes.yaml +++ b/.github/workflows/pushes.yaml @@ -33,19 +33,16 @@ jobs: strategy: matrix: include: - - go: '1.21.x' + - go: stable os: ubuntu-latest canonical: true - - go: '1.20.x' - os: ubuntu-latest - canonical: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} # We're not doing releases, just checks, so we can live without check-latest here @@ -66,9 +63,9 @@ jobs: # You can see the individual values in the "Set up Go" output, collapsed inside a "go env" group at the end. - name: Install staticcheck - uses: dominikh/staticcheck-action@v1.3.0 + uses: dominikh/staticcheck-action@v1.3.1 with: - version: "2022.1.1" + version: "2024.1.1" - name: Install additional check/lint tools id: tools-install diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c539642..95b923c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,7 +21,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # NB: the `fetch-depth: 0` setting is documented by goreleaser # as a requirement, for the changelog feature to work correctly. @@ -34,9 +34,9 @@ jobs: # docker/setup-buildx-action@v1 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version: stable check-latest: true - name: Basic integrity checks @@ -50,7 +50,7 @@ jobs: - name: Run GoReleaser id: goreleaser - uses: goreleaser/goreleaser-action@v3 + uses: goreleaser/goreleaser-action@v6 with: args: release --clean env: