build(deps): Bump actions/checkout from 4.1.2 to 4.1.6 #418
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 | |
paths-ignore: | |
- README.md | |
schedule: | |
- cron: '55 5 * * 1-5' | |
jobs: | |
versions: | |
name: Go ${{ matrix.go-version }} (${{ matrix.platform }}) | |
runs-on: ${{ matrix.platform }} | |
permissions: | |
contents: read | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: [1.19.x, 1.20.x] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Run fmt and vet | |
run: make fmt vet | |
- name: Check if directory is clean | |
run: git diff --exit-code | |
- name: Print SSH version | |
run: ssh -V | |
- name: Test | |
run: make test |