Skip to content

Update workflow actions #42

Update workflow actions

Update workflow actions #42

Workflow file for this run

name: Continuous integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main, features/**, bugs/** ]
jobs:
build:
strategy:
matrix:
dotnet-version: [ 6.0.x, 7.0.x ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies
run: dotnet restore
working-directory: ./src
- name: Build
run: dotnet build ./src/Serilog.Enrichers.Kubernetes.sln --configuration Release --no-restore
- name: Test
run: dotnet test ./src/Serilog.Enrichers.Kubernetes.sln --no-restore --verbosity normal