Skip to content

MAINTENANCE: github workflows #133

MAINTENANCE: github workflows

MAINTENANCE: github workflows #133

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore src/LocaleNames.sln
- name: Build
run: dotnet build --no-restore src/LocaleNames.sln
- name: Test
run: dotnet test src/LocaleNames.Test/LocaleNames.Test.csproj /p:CollectCoverage=true
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: ${{ github.workspace }}/out/coverage/lcov.info