20 lines
353 B
YAML
20 lines
353 B
YAML
name: check
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
secretapi:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: backend/secretapi/go.mod
|
|
- name: Test secretapi
|
|
run: |
|
|
cd backend/secretapi
|
|
go test ./...
|