Various blocklist and pause check enhancements (#24) #34
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: Unit Tests | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Run Unit Tests | |
run: make test-unit | |
scan: | |
needs: unit-tests | |
if: github.event_name == 'pull_request' | |
uses: circlefin/circle-public-github-workflows/.github/workflows/pr-scan.yaml@v1 | |
release-sbom: | |
needs: unit-tests | |
if: github.event_name == 'push' | |
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1 |