ci: pin just action (#11) #22
This file contains hidden or 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: Run CI Tests | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - 'README.md' | |
| - 'LICENSE' | |
| push: | |
| branches: | |
| - 'main' | |
| jobs: | |
| run-copywrite: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: hashicorp/setup-copywrite@v1.1.3 | |
| - name: verify copyright | |
| run: | | |
| copywrite --config .github/workflows/scripts/copywrite.hcl \ | |
| headers --spdx "BSD-3-Clause" --plan | |
| run-tests: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Show System | |
| run: | | |
| uname -a | |
| just sysinfo | |
| - name: Run Go Test | |
| run: | | |
| just init tidy lint test | |