-
Notifications
You must be signed in to change notification settings - Fork 2
60 lines (50 loc) · 1.24 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI
on:
merge_group:
push:
branches-ignore:
- 'main'
- '_bors*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
rust-checks:
permissions:
id-token: write
contents: read
uses: ./.github/workflows/_reusable.rust.yml
secrets:
AWS_OIDC_ROLE: ${{ secrets.AWS_OIDC_ROLE }}
open-api:
runs-on: hetzner-pm
container:
image: xaynetci/yellow:v15
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Validate openapi
run: just validate-openapi
copyright:
if: ${{ always() }}
runs-on: hetzner-pm
container:
image: xaynetci/yellow:v15
timeout-minutes: 5
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Check copyright
run: .github/scripts/copyright.sh
ci-ok:
if: always()
needs:
- rust-checks
- open-api
- copyright
runs-on: ubuntu-22.04
steps:
- name: All jobs in this workflow succeeded
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}