Skip to content

Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 (#186) #246

Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 (#186)

Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 (#186) #246

Workflow file for this run

name: ci
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ '**' ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '3.1.x' ]
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
check-code-regeneration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Ensure the code has been properly regenerated with 'make regen'
run: |
make regen
readonly changed_files="$(git diff --stat)"
if [[ "${changed_files}" != "" ]]; then
echo "Found differences after running 'make regen'"
echo "Please run 'make regen' & commit the changed files:"
echo "${changed_files}"
git diff
exit 1
fi
check-readme-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0
persist-credentials: false
- name: Ensure the readme is formatted (make format-readme)
uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1 # v4.3
with:
dry: True
prettier_options: --write README.md