-
Notifications
You must be signed in to change notification settings - Fork 70
50 lines (47 loc) · 1.15 KB
/
_check-release.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
name: Release Check
on:
workflow_dispatch:
inputs:
ref:
required: false
type: string
fail-fast:
required: false
type: boolean
default: true
workflow_call:
inputs:
ref:
required: false
type: string
fail-fast:
required: false
type: boolean
default: true
jobs:
test:
name: test ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: ${{ inputs.fail-fast }}
matrix:
include:
- name: linux x86-64
os: ubuntu-latest
- name: macos aarch64
os: macos-14
- name: windows x86-64
os: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --profile=ci --no-fail-fast
snforge-init:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: foundry-rs/setup-snfoundry@v3
- run: cargo test --profile=ci --package scarb --test snforge_init new_simple -- --ignored