Skip to content

Fix / swagger

Fix / swagger #169

Workflow file for this run

name: Testing API
on:
pull_request:
branches:
- '**'
types:
- opened
- synchronize
- reopened
- ready_for_review
paths:
- "api/**"
- ".github/workflows/test-api.yml"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-api:
name: Test API
runs-on: ubuntu-latest
defaults:
run:
working-directory: api
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install dependencies
run: go get .
- name: Test with the Go CLI
run: go test ./...