Skip to content

Commit

Permalink
Updated and renamed dotnet.yml to dotnet-test.yml
Browse files Browse the repository at this point in the history
* Updated and renamed dotnet.yml to dotnet-test.yml
* Reworked action to leverage reusable gh actions workflow
  • Loading branch information
sbartholomeusz authored Oct 19, 2023
1 parent 0aceb7f commit aa2f5fe
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 31 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: dotnet-test

#
# Purpose: Run dotnet tests
#

on:
# Run workflow manually
workflow_dispatch:

# PR for any branch
pull_request:

# Staged PR's for any branch
merge_group:

# push on any branch
push:

defaults:
run:
shell: bash
working-directory: src

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
uses: sbartholomeusz/gh-actions-common/.github/workflows/dotnet-test.yml@main
with:
dotnet_version: '3.1.x'
path: './src/Canary.sln'
os-platform: 'windows-latest'
secrets: inherit
31 changes: 0 additions & 31 deletions .github/workflows/dotnet.yml

This file was deleted.

0 comments on commit aa2f5fe

Please sign in to comment.