Better docs #173
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: build | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [1.20.x] | |
name: Build with Go ${{ matrix.go-version }} | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
stable: false | |
go-version: ${{ matrix.go-version }} | |
- name: Run vet | |
run: go vet ./... | |
- name: Run staticcheck | |
uses: dominikh/[email protected] | |
with: | |
version: "2023.1.2" | |
install-go: false | |
cache-key: ${{ matrix.go-version }} | |
- name: Run tests | |
run: go test -v ./... |