-
Notifications
You must be signed in to change notification settings - Fork 49
41 lines (35 loc) · 1.03 KB
/
pre-submit.cli.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
name: Pre submits cli
on:
pull_request:
branches: ["main"]
workflow_dispatch:
# Used in combination with schedule.cli.yml
# to avoid duplicating the test code.
schedule:
- cron: "25 6 * * 5"
permissions: read-all
jobs:
pre-submit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: setup-go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: "go.mod"
# not needed but gets rid of warnings
cache: false
- name: Save event name
env:
EVENT_NAME: ${{ github.event_name }}
run: |
echo "$EVENT_NAME" > ./event_name.txt
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: event_name
path: ./event_name.txt
- name: Run tests for verifier
run: |
set -euo pipefail
make regression-test