Setup-Moonbit@Daily Checking #535
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |