This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
[Snyk] Security upgrade zipp from 3.15.0 to 3.19.1 #1820
This file contains 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: main | |
on: [pull_request, push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test with Go ${{ matrix.go }} | |
strategy: | |
matrix: | |
go: ["1.18", "1.19", "1.20"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Go test | |
run: make test | |
- name: Build | |
run: make bin/regula | |
- name: Run regula test | |
run: | | |
cd rego | |
../bin/regula test examples rules tests | |
../bin/regula test --no-test-inputs examples rules tests |