-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (42 loc) · 1.17 KB
/
Copy pathaction-tests.yml
File metadata and controls
47 lines (42 loc) · 1.17 KB
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
name: Action Tests
on:
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
permissions:
contents: read
jobs:
action-tests:
name: Action Tests
runs-on:
group: BasePerfRunnerGroup
timeout-minutes: 30
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- uses: ./.github/actions/setup
with:
free-disk: "true"
native-deps: "true"
mold: "true"
foundry: "true"
components: clippy
tools: cargo-nextest
rust-cache-shared-key: "stable"
- name: Build test contracts
run: just build::contracts
- name: Lint action tests
run: just actions::lint-ci
- name: Run action tests
run: just actions::test-ci