Skip to content
Prev Previous commit
Next Next commit
build: update build-and-test action to use .NET 8
Signed-off-by: Kenny Pflug <[email protected]>
  • Loading branch information
feO2x committed Jun 13, 2024
commit f78fc642797516967036afed6647d1028de03d61
10 changes: 6 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,23 @@ name: Build and Test

on:
push:
branches: [ "main" ]
branches: [main, dev]
paths: ['Code/**', 'build-and-test.yml']
pull_request:
branches: [ "main" ]
branches: [main, dev]
paths: ['Code/**', 'build-and-test.yml']

jobs:
build-and-test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./Code/Light.SharedCore.sln
- name: Build
Expand Down