diff --git a/.github/workflows/benchmarks.yaml b/.github/workflows/benchmarks.yaml index a8a15713..4448c3c0 100644 --- a/.github/workflows/benchmarks.yaml +++ b/.github/workflows/benchmarks.yaml @@ -20,7 +20,7 @@ jobs: steps: - name: Tune GitHub-hosted runner network uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1.0.0 - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -29,7 +29,7 @@ jobs: name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT working-directory: eopa - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} cache-dependency-path: eopa/go.sum diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index 39a4d818..cd7da2c9 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -30,7 +30,7 @@ jobs: sudo apt clean docker image ls -aq | xargs -r docker rmi df -h - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -41,14 +41,14 @@ jobs: name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT working-directory: enterprise-opa - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} cache-dependency-path: enterprise-opa/go.sum - name: Setup github api token run: git config --global url.https://git:$GH_API_TOKEN@github.com/.insteadOf https://github.com/ - name: Install GoReleaser - uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0 + uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2 with: install-only: true - name: Install goversioninfo for Windows binary icon and version diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 6007a312..9482739d 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -23,7 +23,7 @@ jobs: uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1.0.0 - name: Free Disk Space uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: checkout EOPA uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -33,7 +33,7 @@ jobs: name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT working-directory: eopa - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} cache-dependency-path: eopa/go.sum @@ -44,7 +44,7 @@ jobs: SKIP_IMAGES: true working-directory: eopa - name: Upload image tarball - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: image path: eopa/local.tar @@ -58,7 +58,7 @@ jobs: uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1.0.0 - name: Free Disk Space uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: checkout EOPA uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -68,7 +68,7 @@ jobs: name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT working-directory: eopa - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} cache-dependency-path: eopa/go.sum @@ -116,7 +116,7 @@ jobs: sudo apt clean docker image ls -aq | xargs -r docker rmi df -h - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -124,13 +124,13 @@ jobs: - id: go_version name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} - name: Install goversioninfo for Windows binary icon and version run: go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.5.0 - name: Install GoReleaser - uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0 + uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2 with: install-only: true - name: Install anchore/quill (macos signing) @@ -143,7 +143,7 @@ jobs: HOSTNAME: github.actions.local GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload release artifacts - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: binaries path: | @@ -184,7 +184,7 @@ jobs: - id: go_version name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} - uses: turtlequeue/setup-babashka@2d4df498c7a578b4f3e906283f9af913590bdec7 # v1.7.0 @@ -196,7 +196,7 @@ jobs: GOOS: ${{ matrix.GOOS }} GOARCH: ${{ matrix.GOARCH }} - name: Upload test binaries - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: cross-binaries-${{ matrix.GOOS }}-${{ matrix.GOARCH }} path: bins @@ -238,17 +238,17 @@ jobs: df -h if: matrix.os == 'ubuntu-24.04' - name: Set up QEMU - uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0 + uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0 with: platforms: arm64 if: matrix.GOARCH == 'arm64' - name: Download release binaries - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: binaries path: dist - name: Download test binaries - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: cross-binaries-${{ matrix.GOOS }}-${{ matrix.GOARCH }} path: bins @@ -270,7 +270,7 @@ jobs: with: fetch-depth: 0 - name: Download image tarball - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: image - name: EOPA image @@ -279,7 +279,7 @@ jobs: # Equivalent to: # $ trivy image $IMAGE - name: Run Trivy scan on image - uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # 0.33.1 + uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # 0.36.0 with: image-ref: ${{ steps.eopa.outputs.image }} format: table @@ -304,7 +304,7 @@ jobs: # Equivalent to: # $ trivy fs . - name: Run Trivy scan on repo - uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # 0.33.1 + uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # 0.36.0 with: scan-type: fs format: table @@ -325,7 +325,7 @@ jobs: - id: go_version name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} - run: go install golang.org/x/vuln/cmd/govulncheck@latest @@ -352,7 +352,7 @@ jobs: - id: go_version name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} - run: make fuzz @@ -381,14 +381,14 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@19b2f06db2b6f5108140aeb04014ef02b648f789 # v3.29.5 + uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.29.5 with: languages: go - name: Autobuild - uses: github/codeql-action/autobuild@19b2f06db2b6f5108140aeb04014ef02b648f789 # v3.29.5 + uses: github/codeql-action/autobuild@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.29.5 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@19b2f06db2b6f5108140aeb04014ef02b648f789 # v3.29.5 + uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v3.29.5 with: category: "/language:go" diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 5ec2a3e1..46380f0c 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -41,18 +41,18 @@ jobs: df -h - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install tools - uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 + uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: golangci-lint - uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 + uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: version: v${{ env.GOLANGCI_VERSION }} args: --timeout=10m # Do a pre-flight check to ensure we don't bother with `buf` unless # we have protobuf changes present. - name: Check for proto/ file changes in git diffs. - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 + uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 id: changes with: filters: | @@ -99,7 +99,7 @@ jobs: - id: eopa name: read versions run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.eopa.outputs.go_version }} - name: Install addlicense @@ -123,7 +123,7 @@ jobs: uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1.0.0 - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: checkout EOPA uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -135,7 +135,7 @@ jobs: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT echo "opa_version=v$(build/get-opa-version.sh)" >> $GITHUB_OUTPUT working-directory: eopa - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: cache-dependency-path: eopa/go.sum go-version: ${{ steps.eopa.outputs.go_version }} @@ -179,12 +179,12 @@ jobs: run: ../build/github-actions/gen-go-test-job-matrix.sh env: TAGS: e2e - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - - uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 + - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run go mod tidy @@ -221,16 +221,16 @@ jobs: sudo apt clean docker image ls -aq | xargs -r docker rmi df -h - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - - uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 + - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Download binary tarball - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: binary - name: EOPA binary @@ -303,7 +303,7 @@ jobs: # Do a pre-flight check to ensure we don't push up a BSR draft for # PRs that don't touch the protobuf files at all. - name: Check for proto/ file changes in git diffs. - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 + uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 id: changes with: filters: | @@ -347,13 +347,13 @@ jobs: with: fetch-depth: 0 - name: Install tools - uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 + uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Setup github api token run: git config --global url.https://git:$GH_API_TOKEN@github.com/.insteadOf https://github.com/ - name: Check for base image changes (apko.yaml, apko-debug.yaml) - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 + uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 id: changes with: filters: | @@ -367,12 +367,12 @@ jobs: SKIP_IMAGES: false # TODO(sr) re-enable when we publish base images on merge KO_DOCKER_REPO: "ghcr.io/${{ github.repository_owner }}" - name: Upload image tarball - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: image path: local.tar - name: Upload debug image tarball - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: image-debug path: local-debug.tar @@ -393,7 +393,7 @@ jobs: sudo apt clean docker image ls -aq | xargs -r docker rmi df -h - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -401,11 +401,11 @@ jobs: - id: go_version name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} - name: Install GoReleaser - uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0 + uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2 with: install-only: true - name: GoReleaser (single) @@ -414,7 +414,7 @@ jobs: HOSTNAME: github.actions.local GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload binary tarball - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: binary path: dist/linux-build_linux_amd64_v1/eopa @@ -429,7 +429,7 @@ jobs: - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: install skopeo - uses: jaxxstorm/action-install-gh-release@6096f2a2bbfee498ced520b6922ac2c06e990ed2 # v2.1.0 + uses: jaxxstorm/action-install-gh-release@25e24d2d23ae098373794ef1d6faecb48ee52da8 # v3.0.0 with: repo: lework/skopeo-binary extension-matching: disable @@ -438,11 +438,11 @@ jobs: rename-to: skopeo chmod: 0755 - name: Download image tarball - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: image - name: Download debug image tarball - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: image-debug - name: load images @@ -465,10 +465,10 @@ jobs: - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Download binary tarball - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: binary - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # version doesn't matter, latest is fine v2 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # version doesn't matter, latest is fine v2 with: version: "1.0.0" - name: build bundle with OPA @@ -496,7 +496,7 @@ jobs: - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Download image tarball - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: image - name: EOPA image @@ -576,7 +576,7 @@ jobs: - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install tools - uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 + uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: bb build/cross-build @@ -586,7 +586,7 @@ jobs: GOOS: ${{ matrix.GOOS }} GOARCH: ${{ matrix.GOARCH }} - name: Upload cross-build binaries - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: cross-binaries-${{ matrix.GOOS }}-${{ matrix.GOARCH }} path: bins @@ -627,7 +627,7 @@ jobs: df -h if: matrix.os == 'ubuntu-24.04' - name: Download cross-build binaries - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: cross-binaries-${{ matrix.GOOS }}-${{ matrix.GOARCH }} path: bins diff --git a/.github/workflows/push-main.yaml b/.github/workflows/push-main.yaml index 51f08271..4da667db 100644 --- a/.github/workflows/push-main.yaml +++ b/.github/workflows/push-main.yaml @@ -19,7 +19,7 @@ jobs: steps: - name: Tune GitHub-hosted runner network uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1.0.0 - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -27,7 +27,7 @@ jobs: - id: go_version name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} - uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9 diff --git a/.github/workflows/push-tags.yaml b/.github/workflows/push-tags.yaml index 6d9c9ee0..c22203eb 100644 --- a/.github/workflows/push-tags.yaml +++ b/.github/workflows/push-tags.yaml @@ -28,7 +28,7 @@ jobs: sudo apt clean docker image ls -aq | xargs -r docker rmi df -h - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -38,12 +38,12 @@ jobs: name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT working-directory: enterprise-opa - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} cache-dependency-path: enterprise-opa/go.sum - name: Install GoReleaser - uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0 + uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7.2.2 with: install-only: true - name: Install goversioninfo for Windows binary icon and version @@ -64,7 +64,7 @@ jobs: steps: - name: Tune GitHub-hosted runner network uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1.0.0 - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -72,7 +72,7 @@ jobs: - id: go_version name: Read go version run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT - - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 + - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: ${{ steps.go_version.outputs.go_version }} - uses: ko-build/setup-ko@d006021bd0c28d1ce33a07e7943d48b079944c8d # v0.9 @@ -119,7 +119,7 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - - uses: open-policy-agent/setup-opa@950f159a49aa91f9323f36f1de81c7f6b5de9576 # v2.3.0 + - uses: open-policy-agent/setup-opa@b2b258e089860efaadaaf71bf6e3aecb4a3eeff1 # v2.4.0 - name: Pick up OPA version id: supported-opa-version run: echo "opa_version=v$(build/get-opa-version.sh)" >> $GITHUB_OUTPUT diff --git a/.github/workflows/update-base.yaml b/.github/workflows/update-base.yaml index 13542648..35d9b01d 100644 --- a/.github/workflows/update-base.yaml +++ b/.github/workflows/update-base.yaml @@ -25,14 +25,14 @@ jobs: fetch-depth: 0 - name: Build & Publish OCI id: apko - uses: chainguard-images/actions/apko-publish@86c76897384d489bbd053726e796263dd9483d62 + uses: chainguard-images/actions/apko-publish@a0d960331368580ff800fcca722e0de0ee96dfee with: config: apko.yaml archs: x86_64,aarch64 tag: ghcr.io/open-policy-agent/eopa-base:latest - name: Build & Publish OCI (Debug) id: apko-debug - uses: chainguard-images/actions/apko-publish@86c76897384d489bbd053726e796263dd9483d62 + uses: chainguard-images/actions/apko-publish@a0d960331368580ff800fcca722e0de0ee96dfee with: config: apko-debug.yaml archs: x86_64,aarch64