Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 #605
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 testing | |
on: | |
push: { branches: [main] } | |
pull_request: { branches: [main] } | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
unit-testing: | |
name: Test the code | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install go | |
uses: actions/setup-go@v5 | |
with: { go-version-file: go.mod } | |
- name: Run unit tests | |
run: go test ./... | |
- name: Test that the binary is executable | |
run: | | |
go build | |
./spacectl version |