Skip to content

chore(deps): update actions/checkout action to v4.1.7 (#153) #494

chore(deps): update actions/checkout action to v4.1.7 (#153)

chore(deps): update actions/checkout action to v4.1.7 (#153) #494

Workflow file for this run

name: build
on:
push:
branches:
- '**'
env:
DOTNET_NOLOGO: true # https://github.com/actions/setup-dotnet#environment-variables-to-use-with-dotnet
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.props') }}
- uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
with:
dotnet-version: |
6
8
dotnet-quality: ga
- name: restore packages
run: dotnet restore
- name: build
run: dotnet build --no-restore
- name: test
run: dotnet test --no-build
- name: Codecov
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
with:
files: '*.cobertura.xml'
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}