Read deadline should be an instance field, not static #8
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, pull_request] | |
jobs: | |
test: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19.x | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: go test ./... | |
- name: Vet | |
run: go vet ./... |