Add public accessors for request pattern and method #49
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: Run Tests | |
on: | |
- pull_request | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.17.x, 1.18.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/checkout@v3 | |
- name: Run Vet | |
run: | | |
go vet ./... | |
- name: Run Lint | |
run: | | |
go install golang.org/x/lint/golint@latest | |
golint . || true | |
- name: Run Tests | |
run: | | |
go test -v ./... | |
- name: Run Tests with Race Detector | |
run: | | |
go test -v -race ./... |