build(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 in /x/ref/examples #44
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: linux | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.18.x, 1.20.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache: true | |
- name: Install tools | |
run: | | |
go install golang.org/x/tools/cmd/goimports@latest | |
- name: Test | |
run: | | |
export VDLPATH=$GITHUB_WORKSPACE | |
go test --race --covermode=atomic --timeout=15m ./... | |
cd x/ref/examples | |
go test --race --covermode=atomic ./... | |
integration-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
cache: true | |
- name: Install openssl | |
run: | | |
uname -a | |
sudo apt-get update -y | |
sudo apt-get install -y pkg-config openssl libssl-dev | |
- name: Test | |
run: | | |
make test-integration test-openssl-integration | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.x | |
cache: true | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
- name: Vulnerabilities | |
run: | | |
go install golang.org/x/vuln/cmd/govulncheck@latest | |
govulncheck ./... |