Skip to content

adjust tye init templates to point to tye2 (#44) #81

adjust tye init templates to point to tye2 (#44)

adjust tye init templates to point to tye2 (#44) #81

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: CI
on:
workflow_dispatch:
push:
branches: ["main"]
paths:
- 'src/**'
pull_request:
branches: ["main"]
paths:
- 'src/**'
jobs:
ci:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v3
# test prerequisites
# dotnet 6,7,8
- name: Install .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
# azure function sdk
- name: Install Azure Functions SDK
run: npm install -g azure-functions-core-tools@4
# dapr
- name: Dapr tool installer
uses: dapr/setup-dapr@v1
- name: Init Dapr
run: |
dapr init
dapr --version
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --filter FailsInGithubActions!=true --no-build --logger trx
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
job_summary: true
files: |
**/*.trx