diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d6ff6b..7180e74 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,9 +8,9 @@ jobs: name: Backend build and integration tests runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x - name: Restore NuGet packages @@ -24,10 +24,10 @@ jobs: name: Docker build runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | ghcr.io/daniel-lerch/travelblog @@ -36,13 +36,13 @@ jobs: type=ref,event=pr - name: Login to GitHub Container Registry if: ${{ github.event_name != 'pull_request' }} - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/src/TravelBlog/TravelBlog.csproj b/src/TravelBlog/TravelBlog.csproj index bf33808..92d68c7 100644 --- a/src/TravelBlog/TravelBlog.csproj +++ b/src/TravelBlog/TravelBlog.csproj @@ -12,18 +12,18 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + +