Merge pull request #168 from jojje/feat_show_ssh_connect_command #67
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go 1.22 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
# You can test your matrix by printing the current Go version | |
- name: Display Go version | |
run: go version | |
- name: run vet | |
run: go vet ./... | |
- name: build all packages | |
run: go build ./... | |
- name: check for vulnerabilities | |
run: ./tools/govulncheck ./... | |
- name: Run tests | |
run: go test -vet=off --cover ./... |