-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (33 loc) · 1.02 KB
/
e2e-with-binary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: e2e-with-binary
# Run on every push, and allow it to be run manually.
on:
workflow_dispatch:
push:
branches: ['main', 'v*']
pull_request:
jobs:
e2e-tests-with-binary:
# Skip if running in a fork that might not have secrets configured.
if: ${{ github.repository == 'venafi/sigscan' }}
name: Run tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions:
contents: read
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/setup-go@v3.3.0
with:
go-version: '1.23.1'
check-latest: true
- name: build sigscan and check
shell: bash
run: |
set -e
make sigscan
./sigscan fs test/tempdir1/ test/tempdir2 --output json | jq
./sigscan fs test/tempdir1/ test/tempdir2 --output json | jq
./sigscan fs test/tempdir1/ test/tempdir2 --output pretty
./sigscan fs test/tempdir1/ test/tempdir2 --output pretty