Skip to content

Merge pull request #19 from ahwm/httpclient-update #45

Merge pull request #19 from ahwm/httpclient-update

Merge pull request #19 from ahwm/httpclient-update #45

Workflow file for this run

name: build
on:
push:
branches:
- "**"
pull_request:
branches:
- "main"
jobs:
build:
runs-on: windows-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET 7
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Build
run: dotnet build
- name: Test
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
env:
AKISMET_API_KEY: ${{ secrets.AKISMET_API_KEY }}
AKISMET_API_KEY_URL: ${{ vars.AKISMET_API_KEY_URL }}
run: dotnet test --no-build --verbosity normal