28 lines
511 B
YAML
28 lines
511 B
YAML
name: Tests
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
|
|
on:
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
schedule:
|
|
- cron: "0 14 * * 2" # 2pm Patch Tuesday
|
|
|
|
concurrency:
|
|
group: ${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
trunk:
|
|
name: Trunk Check Runner
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
checks: write # For trunk to post annotations
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: trunk-io/trunk-action@v1
|