diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d6e7e5e..4694ef12 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 # cache go modules - - uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3 + - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4 with: # In order: # * Module download cache diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 618b4548..112fc336 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ jobs: uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 with: go-version: 1.19 - - uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3 + - uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4 with: path: | ~/.cache/go-build @@ -32,9 +32,9 @@ jobs: restore-keys: | ${{ runner.os }}-go- - uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # tag=v2.8.1 - - uses: anchore/sbom-action/download-syft@54e36e45f34bc64728f51adb8044404daca492a6 # v0.13.2 + - uses: anchore/sbom-action/download-syft@07978da4bdb4faa726e52dfc6b1bed63d4b56479 # v0.13.3 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@8f67e590f2d095516493f017008adc464e63adb1 # v4.1.0 + uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0 with: # TODO(brumhard): set back to latest after issue is fixed # https://github.com/goreleaser/goreleaser/issues/3573 diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 0f6b46b0..d1bff60b 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -25,7 +25,7 @@ jobs: # Upload findings to GitHub Advanced Security Dashboard [step 2/2] - name: Upload SARIF file for GitHub Advanced Security Dashboard - uses: github/codeql-action/upload-sarif@a34ca99b4610d924e04c68db79e503e1f79f9f02 # v2.1.39 + uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v2.2.1 with: sarif_file: semgrep.sarif if: always() diff --git a/_template/.gitlab-ci.yml b/_template/.gitlab-ci.yml index 9972b356..97b930bc 100644 --- a/_template/.gitlab-ci.yml +++ b/_template/.gitlab-ci.yml @@ -53,7 +53,7 @@ semgrep: golang: stage: test - image: golang:1.19 + image: golang:1.20 script: - make download - make lint diff --git a/_template/Dockerfile b/_template/Dockerfile index d65894f3..7ebe02a0 100644 --- a/_template/Dockerfile +++ b/_template/Dockerfile @@ -1,7 +1,7 @@ # syntax = docker/dockerfile:1.2 # get modules, if they don't change the cache can be used for faster builds -FROM golang:1.19@sha256:bb9811fad43a7d6fd2173248d8331b2dcf5ac9af20976b1937ecd214c5b8c383 AS base +FROM golang:1.20@sha256:fcf0fa972f6ceda8d9222a2500c7692569ae9142f8051bcc736d9c94fe281593 AS base ENV GO111MODULE=on ENV CGO_ENABLED=0 ENV GOOS=linux