diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 823196d..fd55290 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,15 +19,15 @@ jobs: steps: - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} id: go - name: Check out code into the Go module directory - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v6.0.2 - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: | ~/go/pkg/mod @@ -37,7 +37,7 @@ jobs: ${{ runner.os }}-go-${{ matrix.go-version }}- - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v6 + uses: goreleaser/goreleaser-action@v7 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f6ecd3..336aea2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,15 +16,15 @@ jobs: steps: - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} id: go - name: Check out code into the Go module directory - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v6.0.2 - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: | ~/go/pkg/mod @@ -34,7 +34,7 @@ jobs: ${{ runner.os }}-go-${{ matrix.go-version }}- - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v6 + uses: goreleaser/goreleaser-action@v7 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser @@ -44,7 +44,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image to docker.io - uses: mr-smithers-excellent/docker-build-push@v6.4 + uses: mr-smithers-excellent/docker-build-push@v6.8 with: registry: docker.io image: sophos/nginx-vtx-exporter @@ -56,7 +56,7 @@ jobs: password: ${{ secrets.DOCKER_PASS }} - name: Build and push Docker image to ghcr.io - uses: mr-smithers-excellent/docker-build-push@v6.4 + uses: mr-smithers-excellent/docker-build-push@v6.8 with: registry: ghcr.io image: nginx-vtx-exporter