forked from NomicFoundation/slang
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (19 loc) · 662 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: "ci"
on:
# Run using manual triggers from GitHub UI:
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch: {}
# Run on every pull request (external branches):
pull_request: {}
# Run on pushes to internal branches:
# Except 'main', which is handled by 'deploy.yml'.
push:
branches-ignore:
- "main"
# In the event that there is a new push to the ref, cancel any running jobs because they are now obsolete, wasting resources.
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
ci:
uses: "./.github/workflows/_jobs_ci.yml"