Skip to content

chore(deps): update actions/checkout action to v7 (#76) #144

chore(deps): update actions/checkout action to v7 (#76)

chore(deps): update actions/checkout action to v7 (#76) #144

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
paths-ignore:
- '**.md'
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
dotnet-version: [ 8.0.x, 9.0.x , 10.0.x ]
name: Dotnet ${{ matrix.dotnet-version }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
persist-credentials: false
- name: Setup .NET
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Build
run: dotnet build --configuration Release
working-directory: ./src/RESTCountries.NET
- name: Run unit tests
run: dotnet test --configuration Release
working-directory: ./tests/RESTCountries.NET.Tests