Skip to content

Bump Swashbuckle.AspNetCore from 6.7.0 to 6.7.2 (#25) #67

Bump Swashbuckle.AspNetCore from 6.7.0 to 6.7.2 (#25)

Bump Swashbuckle.AspNetCore from 6.7.0 to 6.7.2 (#25) #67

Workflow file for this run

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