cleanup symlink check in filesystem #102
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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
vet: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
- name: Set up Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: Vet | |
run: | | |
go vet ./... | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
- name: Set up Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: Install dependencies | |
run: | | |
go install honnef.co/go/tools/cmd/staticcheck@latest | |
- name: Static check | |
run: | | |
staticcheck --checks=all ./... | |
test: | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
- name: Set up Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
- name: Test | |
run: | | |
go test -v ./... |