feat(world): switch to experimental playground #67
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: Go | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19.5 | |
- name: Go Mod | |
run: go mod download | |
# TODO: Add Go format step. | |
#- name: Go Format | |
# run: gofmt -s -w . && git diff --exit-code | |
- name: Go Tidy | |
run: go mod tidy && git diff --exit-code | |
- name: Go Vet | |
run: go vet | |
# TODO: Add a staticcheck step. | |
#- uses: dominikh/staticcheck-action@v1.2.0 | |
# with: | |
# version: "2022.1" | |
# install-go: false | |
# TODO: add go lint | |
- name: Go Build | |
run: go build -v ./... | |
- name: Go Test | |
run: go test -race -shuffle=on -coverprofile=coverage.txt -v -cover ./... | |
# TODO: Add test coverage. |