diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..7de2a31 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,30 @@ +name: Windows build & test + +on: workflow_dispatch + +jobs: + + build-and-test: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4.1.7 + + - name: Install wkhtmltopdf + run: choco install wkhtmltopdf + + - name: Set up Go + uses: actions/setup-go@v5.0.1 + with: + go-version: stable + + - name: Build + run: go build -v . + + - name: Test + run: go test -v . + + - name: Upload artifacts + uses: actions/upload-artifact@v4.3.3 + with: + name: TestPDFs + path: '**/*.pdf'