Merge pull request #123 from VladShpilMan/DOTNET8-MIGRATION-IMAGES #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: RaccoonBlog .NET 8 CI | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| branches: [ "**" ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Install dependencies for RavenDB | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libicu-dev | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore --configuration Release | |
| - name: Run Tests | |
| run: dotnet test --no-build --configuration Release --verbosity normal | |
| env: | |
| RAVEN_TARGET_FRAMEWORK: 'net8.0' |