Skip to content

Bump golang.org/x/crypto from 0.37.0 to 0.45.0 in the go_modules group across 1 directory #19

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

Bump golang.org/x/crypto from 0.37.0 to 0.45.0 in the go_modules group across 1 directory #19

Workflow file for this run

name: Build and Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: simple_license_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U postgres -d simple_license_test"
--health-interval 10s
--health-timeout 5s
--health-retries 10
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Build
run: go build -v ./...
- name: Test (unit + existing tests)
run: go test -v ./...
- name: Test (integration lifecycle flow)
env:
RUN_INTEGRATION_TESTS: "1"
INTEGRATION_DATABASE_URL: postgres://postgres:postgres@localhost:5432/simple_license_test?sslmode=disable
run: go test -v ./internal/api -run TestIntegrationLicenseLifecycleFlow