Skip to content

chore: bump the all group across 1 directory with 5 updates (#778) #2955

chore: bump the all group across 1 directory with 5 updates (#778)

chore: bump the all group across 1 directory with 5 updates (#778) #2955

Workflow file for this run

name: test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
name: "Unit test"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Harden Runner
uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
with:
egress-policy: audit
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.26"
check-latest: true
- name: Check out code into the Go module directory
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: go/src/github.com/open-policy-agent/frameworks
- name: Unit test
run: |
export PATH=$PATH:${GOBIN}
make -C constraint native-test
working-directory: go/src/github.com/open-policy-agent/frameworks
env:
GOPATH: ${{ github.workspace }}/go
GOBIN: ${{ github.workspace }}/go/bin
- name: Codecov Upload
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
flags: unittests
file: go/src/github.com/open-policy-agent/frameworks/constraint/cover.out
fail_ci_if_error: false