Replace composite action "Install DevOps" with "Cache Rust" #56
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
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| main: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| # Setup | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/cache-nodejs | |
| - uses: ./.github/actions/cache-rust | |
| - run: npm install --global prettier | |
| # Verify | |
| - run: prettier --write **/*.yaml **/*.md | |
| - run: cargo fmt | |
| - uses: ./.github/actions/check-formatting | |
| - run: cargo test |