Skip to content

Update action dependencies #22

Update action dependencies

Update action dependencies #22

Workflow file for this run

name: Pull Request
on: ["pull_request"]
jobs:
go-tests:
name: Go Tests
runs-on: ubuntu-latest
steps:
- name: setup go
uses: actions/setup-go@v5
with:
go-version: 1.24
cache: false
- name: checkout
uses: actions/checkout@v4
- name: unit test
run: go test -v ./...
- name: test build
run: go build -o build/action-conftest
test-run-action:
name: Test the Action
needs: go-tests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: run action
uses: './'
with:
add-comment: false
files: '.github/test/resources'
pull-url: 'git::https://github.com/YubicoLabs/action-conftest.git//.github/test/policy'
policy: '.github/test/policy/always_warn.rego'
gh-token: ${{ secrets.GITHUB_TOKEN }}
gh-comment-url: ${{ github.event.pull_request.comments_url }}