-
Notifications
You must be signed in to change notification settings - Fork 0
113 lines (96 loc) · 2.82 KB
/
daily.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Description:
# - Setup Moonbit with GitHub Actions
# REF:
# - https://github.com/marketplace/actions/checkout
name: Setup-Moonbit@Daily Checking
on:
push:
branches:
- main
- develop
# This schedule will run only from the default branch
schedule:
- cron: '15 0 * * *' # run at 00:15 AM UTC
jobs:
setup-latest:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Setup Latest@${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Moonbit
uses: hustcer/setup-moonbit@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Moonbit Version
run: |
moon version --all
- name: Create an Issue for Release Failure
if: ${{ failure() }}
uses: JasonEtco/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
update_existing: true
search_existing: open
filename: .github/AUTO_ISSUE_TEMPLATE/daily-checking-fail.md
setup-nightly:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Setup Nightly@${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Moonbit
uses: hustcer/setup-moonbit@main
with:
version: nightly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Moonbit Version
run: |
moon version --all
- name: Create an Issue for Release Failure
if: ${{ failure() }}
uses: JasonEtco/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
update_existing: true
search_existing: open
filename: .github/AUTO_ISSUE_TEMPLATE/daily-checking-fail.md
setup-bleeding:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: Setup Bleeding@${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Moonbit
uses: hustcer/setup-moonbit@develop
with:
version: bleeding
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check Moonbit Version
run: |
moon version --all
- name: Create an Issue for Release Failure
if: ${{ failure() }}
uses: JasonEtco/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
update_existing: true
search_existing: open
filename: .github/AUTO_ISSUE_TEMPLATE/daily-checking-fail.md