-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (29 loc) · 866 Bytes
/
Copy pathorders-ci.yml
File metadata and controls
36 lines (29 loc) · 866 Bytes
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
name: Orders CI
on:
push:
branches: [master]
paths:
- "orders/**"
- ".github/workflows/orders-ci.yml"
pull_request:
paths:
- "orders/**"
- ".github/workflows/orders-ci.yml"
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
container:
image: ghcr.io/frantic1048/blend:0.2.12@sha256:bae278d09e86b7b0f590be8099117151279eb14c0277fe2d4cca6feec7b5f021
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
with:
egress-policy: audit
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- run: blend --version
- name: Check orders
run: blend check
- name: Check order formatting
run: blend format --check