Skip to content

chore: bump the all group across 1 directory with 8 updates #1122

chore: bump the all group across 1 directory with 8 updates

chore: bump the all group across 1 directory with 8 updates #1122

Workflow file for this run

name: gatekeeper_test
on: [push, pull_request]
permissions:
contents: read
jobs:
gk-test:
name: "Gatekeeper Test"
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "1.22"
check-latest: true
- name: Check out code into the Go module directory
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
path: go/src/github.com/open-policy-agent/frameworks
- name: Check out Gatekeeper default branch
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
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 test
working-directory: go/src/github.com/open-policy-agent/gatekeeper