Refactor budget config parsing and standardize error handling #1590
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
| name: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| BUILD_PROFILE: debug | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Rust | |
| uses: leynos/shared-actions/.github/actions/setup-rust@aebb3f5b831102e2a10ef909c83d7d50ea86c332 | |
| - name: Format | |
| run: make check-fmt | |
| - name: Lint | |
| run: make lint | |
| - name: Test and Measure Coverage | |
| uses: leynos/shared-actions/.github/actions/generate-coverage@aebb3f5b831102e2a10ef909c83d7d50ea86c332 | |
| with: | |
| output-path: lcov.info | |
| format: lcov | |
| - name: Upload coverage data to CodeScene | |
| env: | |
| CS_ACCESS_TOKEN: ${{ secrets.CS_ACCESS_TOKEN }} | |
| if: ${{ env.CS_ACCESS_TOKEN }} | |
| uses: leynos/shared-actions/.github/actions/upload-codescene-coverage@aebb3f5b831102e2a10ef909c83d7d50ea86c332 | |
| with: | |
| format: lcov | |
| access-token: ${{ env.CS_ACCESS_TOKEN }} | |
| installer-checksum: ${{ vars.CODESCENE_CLI_SHA256 }} |