chore(deps): bump actions/checkout from 6 to 7 #38
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: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.x | |
| - run: dotnet restore | |
| - run: dotnet build GhActionsDoctor.sln --configuration Release --no-restore | |
| - run: dotnet test GhActionsDoctor.sln --configuration Release --no-build | |
| - run: dotnet pack src/GhActionsDoctor.Cli --configuration Release --no-build | |
| - run: dotnet run --project src/GhActionsDoctor.Cli --configuration Release --no-build -- scan --fail-on warning | |
| - run: dotnet run --project src/GhActionsDoctor.Cli --configuration Release --no-build -- scan --path samples/bad --format json --fail-on none | |
| - run: dotnet run --project src/GhActionsDoctor.Cli --configuration Release --no-build -- scan --path samples/bad --format github-annotations --fail-on none | |
| - run: dotnet run --project src/GhActionsDoctor.Cli --configuration Release --no-build -- scan --path samples/bad --format sarif --fail-on none | |
| - run: dotnet run --project src/GhActionsDoctor.Cli --configuration Release --no-build -- fix --path samples/good --dry-run |