Skip to content

Bump golang.org/x/net from 0.0.0-20221014081412-f15817d10f9b to 0.17.0 #89

Bump golang.org/x/net from 0.0.0-20221014081412-f15817d10f9b to 0.17.0

Bump golang.org/x/net from 0.0.0-20221014081412-f15817d10f9b to 0.17.0 #89

Workflow file for this run

---
name: Linting and Test
# Run for all pushes to main and pull requests when Go or YAML files change
on:
push:
branches:
- main
pull_request:
jobs:
golangci:
name: lint-and-test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: Install cockroach binary
run: curl https://binaries.cockroachdb.com/cockroach-v21.1.7.linux-amd64.tgz | tar -xz && sudo cp -i cockroach-v21.1.7.linux-amd64/cockroach /usr/local/bin/
- name: Start test database
run: cockroach start-single-node --insecure --background
- name: Create test DB
run: make test-database
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50
args: --timeout=5m
- name: Run go tests for generated models code
run: go test -race ./internal/models
- name: Stop test database
run: cockroach quit --insecure --host=localhost:26257
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
name: codecov-umbrella