chore: bump golang from 1c5ffe6 to 74908ad in /constraint
#1871
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: gatekeeper_test | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| gk-test: | |
| name: "[Informative] Gatekeeper Test" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0 | |
| with: | |
| egress-policy: audit | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
| with: | |
| go-version: "1.24" | |
| check-latest: true | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| path: go/src/github.com/open-policy-agent/frameworks | |
| - name: Check out Gatekeeper default branch | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| repository: open-policy-agent/gatekeeper | |
| path: go/src/github.com/open-policy-agent/gatekeeper | |
| - name: Update Frameworks dependency in Gatekeeper | |
| run: | | |
| go mod edit -replace github.com/open-policy-agent/frameworks/constraint=${GITHUB_WORKSPACE}/go/src/github.com/open-policy-agent/frameworks/constraint | |
| go mod tidy | |
| go mod vendor | |
| working-directory: go/src/github.com/open-policy-agent/gatekeeper | |
| - name: Make test | |
| run: make native-test | |
| working-directory: go/src/github.com/open-policy-agent/gatekeeper |