-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.12 KB
/
sim-label.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
name: SimLabeled
on:
pull_request:
types: [ labeled ]
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"
newbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
go-version: 1.18
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
test-sim-nondeterminism-labeled:
if: ${{ github.event.label.name == 'sim' }}
runs-on: ubuntu-latest
needs: newbuild
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: 1.18
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
- name: test nondeterminism
run: |
make test-sim-nondeterminism