fix(deps): update module github.com/sapcc/go-api-declarations to v1.13.1 #1083
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: go-test | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
jobs: | |
run-unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run PostgreSQL | |
uses: harmon758/postgresql-action@v1 | |
with: | |
postgresql version: '15' | |
postgresql db: 'test_suite_controller' | |
postgresql user: root | |
postgresql password: root | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... | |
env: | |
DB_URL: postgresql://root:root@localhost/test_suite_controller?sslmode=disable |