Bump golang.org/x/net from 0.17.0 to 0.23.0 #42
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: test | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5432:5432 | |
steps: | |
- name: Set up | |
uses: actions/setup-go@v2 | |
with: | |
go-versino: 1.16 | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: init DB | |
run: psql -f ./config/init.sql postgres://postgres:password@localhost:5432/test | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: Test code | |
run: source ./src/tests/envs.sh && go test -v ./... | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: latest |