build(deps): bump actions/checkout from 4.2.0 to 4.2.1 in the gha group #147
Workflow file for this run
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-golang: | |
name: Test on Go ${{ matrix.go }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 3 | |
strategy: | |
matrix: | |
os: | |
# NOTE: Non-linux systems uses more billable minutes. | |
# Enable them only if they are strictly required. | |
# - windows-latest | |
# - macos-latest | |
- ubuntu-latest | |
go: | |
- '1.18' | |
- '1.19' | |
- '1.20' | |
- '1.21' | |
- '1.22' | |
- '1.23' | |
steps: | |
- name: Checkout branch | |
uses: actions/[email protected] | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/[email protected] | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Lint code | |
run: | | |
make lint | |
- name: Validate code | |
run: | | |
make check | |
- name: Run tests | |
run: | | |
make test |