Bump Microsoft.AspNetCore.OpenApi from 8.0.6 to 8.0.13 #104
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: ASP.NET | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 8 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DB_CONN_STR: ${{ vars.DB_CONN_STR }} | |
DB_USERNAME: ${{ vars.DB_USERNAME }} | |
DB_PASSWORD: ${{ secrets.DB_PASSWORD }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check Memory Free | |
run: | | |
free -m | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: | | |
cd src/Couchbase.TravelSample | |
dotnet restore | |
- name: Build | |
run: | | |
cd src/Couchbase.TravelSample | |
dotnet build --configuration Debug --no-restore | |
- name: Test | |
run: | | |
cd src/Couchbase.TravelSample.Tests | |
timeout 120 dotnet test --no-build --verbosity normal | |
- name: Report Status | |
if: always() | |
uses: ravsamhq/notify-slack-action@v1 | |
with: | |
status: ${{ job.status }} | |
notify_when: "failure,warnings" | |
notification_title: "Repo: *{repo}*" | |
message_format: "{emoji} *{status_message}* in <{repo_url}|{repo}@{branch}> on <{commit_url}|{commit_sha}>" | |
footer: "<{run_url}|View Full Run on GitHub>" | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }} |