Escape like coreutils md5sum #233
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: [ubuntu-latest, macos-latest, windows-latest] | |
go: [ '1.22', '1.23' ] | |
runs-on: ${{matrix.runner}} | |
name: OS ${{matrix.runner}} Go ${{matrix.go}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
check-latest: true | |
- name: Show Go Version and environment | |
run: | | |
go version | |
go env | |
- name: Install dependencies | |
run: | | |
make | |
- name: Run tests | |
run: | | |
make test | |
- name: static check | |
if: runner.os == 'Linux' | |
run: | | |
GOBIN=$HOME/.local/bin go install honnef.co/go/tools/cmd/[email protected] | |
staticcheck |