Skip to content

ci: update actions/checkout and actions/setup-go (#15) #25

ci: update actions/checkout and actions/setup-go (#15)

ci: update actions/checkout and actions/setup-go (#15) #25

Workflow file for this run

name: Unit Tests
on:
pull_request:
push:
branches: [master]
permissions:
contents: write
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Run Unit Tests
run: make test
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