Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 #721
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: Continuous Integration and Deployment | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
DOTNET_VERSION: '7.0.x' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code 🛎 | |
uses: actions/checkout@v4 | |
- name: Setup .NET 🔧 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Restore dependencies 🛠 | |
working-directory: ./SocialEventManager/src/SocialEventManager.API | |
run: dotnet restore | |
- name: Build app 🚀 | |
working-directory: ./SocialEventManager/src/SocialEventManager.API | |
run: dotnet build --configuration Release --no-restore | |
- name: Run Tests 🧪 | |
working-directory: ./SocialEventManager | |
run: docker-compose up --exit-code-from socialeventmanager.tests socialeventmanager.tests | |
env: | |
ConnectionStrings__SocialEventManager: ${{ secrets.ConnectionStrings__SocialEventManager }} | |
ConnectionStrings__SocialEventManagerHangfire: ${{ secrets.ConnectionStrings__SocialEventManagerHangfire }} | |
ConnectionStrings__SocialEventManagerTest: ${{ secrets.ConnectionStrings__SocialEventManagerTest }} | |
DB_PASSWORD: ${{ secrets.DB_PASSWORD }} | |
DB_USER: ${{ secrets.DB_USER }} | |
Email__UserName: ${{ secrets.EMAIL__USERNAME }} | |
Email__Password: ${{ secrets.EMAIL__PASSWORD }} | |
Email__Host: ${{ secrets.EMAIL__HOST }} | |
REDIS_MASTER_PASSWORD: ${{ secrets.REDIS_MASTER_PASSWORD }} | |
REDIS_REPLICA_PASSWORD: ${{ secrets.REDIS_REPLICA_PASSWORD }} | |
SA_PASSWORD: ${{ secrets.SA_PASSWORD }} | |
- name: Publish coverage report to coveralls.io | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./SocialEventManager/tests/SocialEventManager.Tests/coverage.info |