Nightly Toolchain Build #6
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
| name: Nightly Toolchain Build | |
| on: | |
| schedule: | |
| # Run nightly at 02:00 UTC | |
| - cron: '0 2 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| nightly-checks: | |
| name: Nightly Toolchain Validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up latest Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| targets: wasm32v1-none | |
| - name: Install Stellar CLI | |
| uses: stellar/stellar-cli@v23.0.1 | |
| - name: Show tool versions | |
| run: ./scripts/check-tooling.sh | |
| - name: Format check | |
| run: make fmt-check | |
| - name: Lint | |
| run: make lint | |
| - name: Test | |
| run: make test | |
| - name: Build Wasm artifacts | |
| run: make build-wasm |