Running tests 🚀 #1754
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@v4 # Checks out the code | |
- name: Setting Go up | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: staticcheck | |
run: | | |
go install honnef.co/go/tools/cmd/staticcheck@latest | |
make static | |
- name: test | |
run: make test | |
- name: test-race | |
run: make race |