fix: various fixes for tunnel startup to work #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
fmt: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
cache: true | |
cache-dependency-path: '**/packages.lock.json' | |
- name: dotnet restore | |
run: dotnet restore --locked-mode | |
- name: dotnet format | |
run: dotnet format --verify-no-changes --no-restore | |
test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
cache: true | |
cache-dependency-path: '**/packages.lock.json' | |
- name: dotnet restore | |
run: dotnet restore --locked-mode | |
- name: dotnet test | |
run: dotnet test --no-restore | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
cache: true | |
cache-dependency-path: '**/packages.lock.json' | |
- name: dotnet restore | |
run: dotnet restore --locked-mode | |
- name: dotnet publish | |
run: dotnet publish --no-restore --configuration Release --output .\publish | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: publish | |
path: .\publish\ |