Skip to content

Bump actions/checkout from 3 to 4 #122

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #122

Workflow file for this run

name: Lint and Test
on:
pull_request:
branches:
- main
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v3
name: golangci-lint
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.52
working-directory: api
- uses: Jerome1337/gofmt-action@v1.0.5
name: gofmt
with:
gofmt-path: './'
gofmt-flags: '-l -d'
integration-test:
name: integration test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
- name: integration-tests
env:
DB_USERNAME: postgres
DB_PASSWORD: postgres
run: |
just build
just test-int