Skip to content

feat: add x-spice-user-agent-header #40

feat: add x-spice-user-agent-header

feat: add x-spice-user-agent-header #40

Workflow file for this run

name: pr
on:
push:
branches: ["trunk"]
pull_request:
branches: ["trunk"]
jobs:
build_and_test:
name: Build and test ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x # 7.0 isn't supplied by default in Ubuntu 22.04, only 8 or 6
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
env:
API_KEY: ${{ secrets.SPICE_CLOUD_API_KEY }}
run: dotnet test --no-build --verbosity normal