Skip to content

chore(deps): bump actions/checkout from 6 to 7 #38

chore(deps): bump actions/checkout from 6 to 7

chore(deps): bump actions/checkout from 6 to 7 #38

Workflow file for this run

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