Set parameters for nodes #178
Workflow file for this run
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2020 Free Software Foundation Europe e.V. | |
| # SPDX-FileCopyrightText: 2025 Kalle Fagerberg | |
| # | |
| # SPDX-License-Identifier: CC0-1.0 | |
| name: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: {} # no permissions by default | |
| jobs: | |
| reuse: | |
| name: REUSE Compliance Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0 | |
| moonbit: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Taskfile | |
| uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2.0.0 | |
| with: | |
| version: 3.x | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Cache MoonBit dependencies | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.moon/registry | |
| key: ${{ runner.os }}-moonbit-${{ hashFiles('**/moon.mod.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-moonbit- | |
| - name: Install Firefly Zero CLI | |
| run: bash -c "$(curl https://fireflyzero.com/install.sh)" | |
| - name: Setup MoonBit | |
| uses: hustcer/setup-moonbit@9199da0ab63ea0c0bab1dc15f03d76e17ed4f75f # v1.22 | |
| - name: Update MoonBit package registry | |
| run: moon update | |
| - name: Run tests | |
| run: task lint test |