Add web secretapi CI workflow
This commit is contained in:
parent
394c689ea8
commit
70c2a4fe8f
19
.gitea/workflows/check.yml
Normal file
19
.gitea/workflows/check.yml
Normal file
@ -0,0 +1,19 @@
|
||||
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 ./...
|
||||
Loading…
Reference in New Issue
Block a user