Test with gotip #6
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 with gotip | |
on: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Install gotip | |
run: | | |
go install golang.org/dl/gotip@latest | |
gotip download | |
- name: Test | |
run: gotip test -v | |
- name: Test with tag tfogo_checklinkname0 | |
run: gotip test -v -ldflags '-checklinkname=0' -tags tfogo_checklinkname0 |