remove unused api stuff #143
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
on: ["push", "pull_request"] | |
name: Go checks | |
jobs: | |
go-checks: | |
name: Run various Go checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/[email protected] | |
with: | |
go-version: "1.22.5" | |
- name: Check go.mod and go.sum tidiness | |
run: | | |
go mod tidy && go mod vendor | |
if [ ! -z "$(git status --porcelain go.mod go.sum)" ]; then | |
echo "Need to run 'go mod tidy && go mod vendor'"; | |
exit 1; | |
fi | |
- id: govulncheck | |
uses: golang/govulncheck-action@v1 | |
with: | |
go-version-input: 1.22.5 |