m #9
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: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Verify Dust workspace layout | |
| run: | | |
| test -f State.toml | |
| test -f src/main.ds | |
| - name: Verify Rust crate files were retired | |
| run: | | |
| if find . -name '*.rs' -o -name 'Cargo.toml' -o -name 'Cargo.lock' | grep -q .; then | |
| echo "Found retired Rust crate artifacts in dusttest" | |
| exit 1 | |
| fi |