Running tests 🚀 #101
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: Go tests | |
run-name: Running tests 🚀 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 # Checks out the code | |
- name: Setting Go up | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Run staticcheck | |
run: | | |
go install honnef.co/go/tools/cmd/staticcheck@latest | |
make static | |
- name: Run test | |
run: make test | |
- name: Run test-race | |
run: make race |