Skip to content

Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 (#70) #130

Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 (#70)

Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 (#70) #130

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
services:
db:
image: postgres:13
env:
POSTGRES_PASSWORD: heimdall
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.17
- uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: go-${{ hashFiles('**/go.sum') }}
restore-keys: go-
- run: make fmtcheck
- run: make test
env:
PGPASSWORD: heimdall
DATABASE_URL: "postgres://postgres@localhost/postgres?sslmode=disable"