Get full path on BSD #95
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] | |
go: ['1.21', '1.22'] | |
runs-on: ${{matrix.runner}} | |
name: OS ${{matrix.runner}} Go ${{matrix.go}} | |
steps: | |
- uses: actions/checkout@v3 | |
- 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: | | |
sudo apt install golint | |
GOBIN=$HOME/.local/bin go install honnef.co/go/tools/cmd/[email protected] | |
make | |
- name: Run tests | |
run: | | |
make test |