ci: retrigger against fixed rainix main #471
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: rainix-rs | |
| on: [push] | |
| jobs: | |
| static: | |
| uses: rainlanguage/rainix/.github/workflows/rainix-rs-static.yaml@main | |
| secrets: inherit | |
| test: | |
| uses: rainlanguage/rainix/.github/workflows/rainix-rs-test.yaml@main | |
| secrets: inherit | |
| js-bindings: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Shared rainix nix + cachix CI preamble (checkout, nix-quick-install, | |
| # Cachix, cache-nix-action) — the pinned action SHAs live once in the | |
| # composite, matching every rainix reusable. The build/test/docs commands | |
| # below are dotrain-specific flake devShell tasks (npm + wasm-bindgen CLI | |
| # over the js-api crate, mocha tests, api-extractor docs), so there is no | |
| # rainix reusable workflow that runs them; only the preamble is shared. | |
| - uses: rainlanguage/rainix/.github/actions/nix-cachix-setup@main | |
| with: | |
| cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| - uses: rainlanguage/rainix/.github/actions/rust-cache@main | |
| - run: nix develop -c build-js-bindings | |
| - run: nix develop -c test-js-bindings | |
| - run: nix develop -c js-bindings-docs |