Skip to content

Bump the dotnet group with 2 updates #7

Bump the dotnet group with 2 updates

Bump the dotnet group with 2 updates #7

Workflow file for this run

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) }}