Skip to content

Commit

Permalink
Bump actions/setup-dotnet from 3 to 4
Browse files Browse the repository at this point in the history
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3 to 4.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored May 10, 2024
1 parent 6ea2a2f commit a942588
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 86 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: src
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src
- name: Test
run: dotnet test --no-restore --verbosity normal --collect "XPlat Code Coverage" --results-directory TestResults/
working-directory: src
- name: Codecov
uses: codecov/codecov-action@v3
with:
directory: src/TestResults/
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: src
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src
- name: Test
run: dotnet test --no-restore --verbosity normal --collect "XPlat Code Coverage" --results-directory TestResults/
working-directory: src
- name: Codecov
uses: codecov/codecov-action@v3
with:
directory: src/TestResults/
54 changes: 27 additions & 27 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: dotnet format

on:
push:
branches: [ master ]
paths:
- '**.cs'
- 'src/.editorconfig'
pull_request:
branches: [ master ]
paths:
- '**.cs'
- 'src/.editorconfig'

jobs:
check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: dotnet format
run: dotnet format --verify-no-changes
name: dotnet format

on:
push:
branches: [ master ]
paths:
- '**.cs'
- 'src/.editorconfig'
pull_request:
branches: [ master ]
paths:
- '**.cs'
- 'src/.editorconfig'

jobs:
check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: dotnet format
run: dotnet format --verify-no-changes
working-directory: src
52 changes: 26 additions & 26 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: pack

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
working-directory: src

- name: Pack
run: dotnet pack --configuration Release --no-restore
working-directory: src
name: pack

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
working-directory: src

- name: Pack
run: dotnet pack --configuration Release --no-restore
working-directory: src

0 comments on commit a942588

Please sign in to comment.