Skip to content

Bump golang.org/x/crypto from 0.28.0 to 0.31.0 in the go_modules group across 1 directory #50

Bump golang.org/x/crypto from 0.28.0 to 0.31.0 in the go_modules group across 1 directory

Bump golang.org/x/crypto from 0.28.0 to 0.31.0 in the go_modules group across 1 directory #50

Workflow file for this run

name: Checks
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres@sha256:163763c8afd28cae69035ce84b12d8180179559c747c0701b3cad17818a0dbc5
options: --name postgres
env:
POSTGRES_USER: accounts
POSTGRES_PASSWORD: password
ports:
- 5432:5432
volumes:
- ${{ github.workspace }}:/github-workspace
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Create additional DBs
run: docker exec postgres psql -f /github-workspace/misc/create_additional_dbs.sql postgres://accounts:password@localhost/postgres
- name: Setup golang
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: '1.23'
- name: Install dependencies
run: go get .
- name: Lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.62
args: --timeout=10m
- name: Test
run: go test -p 1 -v ./...
env:
TEST_DATABASE_URL: postgres://accounts:password@localhost/postgres?sslmode=disable
TEST_KEY_SERVICE_DATABASE_URL: postgres://accounts:password@localhost/keys?sslmode=disable