22 lines
450 B
YAML
22 lines
450 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 ./...
|
|
- name: Validate deployment artifacts
|
|
run: ./scripts/check_deployment_artifacts.sh
|