Skip to content

Merge branch 'next' of https://github.com/lofcz/FastCloner into next #31

Merge branch 'next' of https://github.com/lofcz/FastCloner into next

Merge branch 'next' of https://github.com/lofcz/FastCloner into next #31

Workflow file for this run

name: .NET - Ubuntu
on:
push:
branches: [ "next" ]
pull_request:
branches: [ "next" ]
permissions:
contents: read
statuses: write
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['9.0.101']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Update GitHub status check
if: always()
uses: Sibz/github-status-action@v1
with:
authToken: ${{secrets.GITHUB_TOKEN}}
context: 'Tests'
description: 'The tests ${{ job.status == ''success'' && ''passed'' || ''failed'' }}'
state: ${{ job.status == 'success' && 'success' || 'failure' }}
sha: ${{ github.event.pull_request.head.sha || github.sha }}
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}