fix: pin compatible release tooling #5
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 | |
| permissions: | |
| contents: read | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| workflows: ${{ steps.changed-files.outputs.any_changed }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Detect workflow changes | |
| id: changed-files | |
| uses: tj-actions/changed-files@v47 | |
| with: | |
| files: .github/workflows/** | |
| lint-build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-dotnet@v6 | |
| with: | |
| dotnet-version: 10.0.x | |
| - run: dotnet restore | |
| - run: dotnet format --verify-no-changes --verbosity diagnostic | |
| - run: dotnet build | |
| - run: dotnet test | |
| actionlint: | |
| needs: changes | |
| if: ${{ needs.changes.outputs.workflows == 'true' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: raven-actions/actionlint@v2 | |
| result: | |
| name: CI checks | |
| if: ${{ always() }} | |
| needs: | |
| - changes | |
| - lint-build-test | |
| - actionlint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # release/v1 | |
| with: | |
| allowed-skips: actionlint | |
| jobs: ${{ toJSON(needs) }} |