Bump Swashbuckle.AspNetCore from 6.5.0 to 6.6.1 #59
Workflow file for this run
This file contains 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: Build | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- v* | |
pull_request: | |
branches: [ main ] | |
env: | |
IMAGE_NAME: netcoreboilerplate | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
dotnet-quality: 'preview' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Build Docker Image | |
run: dotnet publish DockerNetExample --os linux --arch x64 /t:PublishContainer -c Release | |
- name: Up Service | |
run: docker compose up -d | |
- name: Test Service | |
run: curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-all-errors --retry-max-time 60 --location 'http://localhost:8000/WeatherForecast' | |
- name: Stop Service | |
if: always() | |
run: docker compose down | |