diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3b3c4f..7d80aa1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,29 +1,29 @@ name: build -on: - push: +on: + push: branches: [master] - pull_request: - + pull_request: + jobs: build: runs-on: ubuntu-latest strategy: matrix: - dotnet-version: ['6.0.x'] + dotnet-version: ['8.0.x'] steps: - uses: actions/checkout@v2 - + - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} - uses: actions/setup-dotnet@v1.7.2 + uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ matrix.dotnet-version }} - + - name: Install dependencies run: dotnet restore - + - name: Build run: dotnet build -c Release --no-restore - + - name: Test run: dotnet test -c Release --no-build \ No newline at end of file