docs: Fix 404 in README.md #23
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: [master] | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
goversion: [1.16, 1.19] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.goversion }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
# Run benchmarks just to see that they don't crash. | |
run: go test -bench=. -benchtime=.1s ./... | |
- name: Test nounsafe | |
run: go test -tags nounsafe ./... | |
- name: Test 386 | |
run: go test -tags nounsafe ./... | |
env: | |
GOARCH: 386 | |
- name: Build benchmarks | |
run: cd benchmarks && go test -c | |
test-qemu: | |
strategy: | |
matrix: | |
arch: [arm, arm64] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Install QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
run: go test -bench=. -benchtime=.1s ./... | |
env: | |
GOARCH: ${{ matrix.arch }} |