mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
add test workflow for ci
This commit is contained in:

committed by
Geoff Seemueller

parent
f07c19dae8
commit
32339f3f18
32
.github/workflows/test.yaml
vendored
Normal file
32
.github/workflows/test.yaml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: Tests
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
statuses: write
|
||||||
|
checks: write
|
||||||
|
contents: read
|
||||||
|
actions: read
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
types: [opened, reopened, synchronize]
|
||||||
|
merge_group: # triggers workflow for merge queue
|
||||||
|
types: [checks_requested]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: oven-sh/setup-bun@v2
|
||||||
|
with:
|
||||||
|
bun-version: latest
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun install
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: bun run test
|
5
.github/workflows/update-vpn-blocklist.yaml
vendored
5
.github/workflows/update-vpn-blocklist.yaml
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
# will automatically update the VPN blocklist and redeploy (recommended)
|
||||||
name: "Update VPN Blocklist"
|
name: "Update VPN Blocklist"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -6,8 +7,8 @@ on:
|
|||||||
# branches:
|
# branches:
|
||||||
# - main
|
# - main
|
||||||
workflow_dispatch: # Manual trigger
|
workflow_dispatch: # Manual trigger
|
||||||
schedule:
|
# schedule:
|
||||||
- cron: "57 8 * * *"
|
# - cron: "57 8 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
# open-gsio
|
# open-gsio
|
||||||
|

|
||||||
|
[](https://www.gnu.org/licenses/agpl-3.0.html)
|
||||||

|

|
||||||
|
|
||||||
### Stack:
|
### Stack:
|
||||||
|
Reference in New Issue
Block a user