Skip to content

Bump golang.org/x/crypto from 0.7.0 to 0.17.0 #46

Bump golang.org/x/crypto from 0.7.0 to 0.17.0

Bump golang.org/x/crypto from 0.7.0 to 0.17.0 #46

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.20.x]
services:
postgres:
image: postgres
ports:
- 5432/tcp
env:
POSTGRES_PASSWORD: s3cret
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
cache: true
- run: make test
env:
DATABASE_URL: postgresql://postgres:s3cret@localhost:${{ job.services.postgres.ports[5432] }}/postgres?sslmode=disable
- run: make test
env:
DATABASE_URL: postgresql://postgres:s3cret@localhost:${{ job.services.postgres.ports[5432] }}/postgres?sslmode=disable&default_query_exec_mode=simple_protocol
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
cache: true
- uses: golangci/golangci-lint-action@v3
with:
version: latest