Skip to content

👷 Upgrade to dotnet 7 (#51) #47

👷 Upgrade to dotnet 7 (#51)

👷 Upgrade to dotnet 7 (#51) #47

Workflow file for this run

name: .NET
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
jobs:
build:
runs-on: ubuntu-latest
env:
RedisHost: localhost
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Setup Redis
uses: shogo82148/actions-setup-redis@v1
with:
redis-version: "6.x"
- name: Setup MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: "5.0"
- name: Test
run: make coverage
- name: Publish coverage report to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: test//TestResults/coverage.info
- name: docker publish
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
make publish