Skip to content

Commit

Permalink
feat: add PR checks for windows (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabdr committed Aug 30, 2024
1 parent a4b22b7 commit 4fc14cf
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
name: Test
on:
pull_request:
branches: [ main, develop ]
branches: [main, develop]
types: [opened, synchronize, reopened]
push:
branches: [ main, develop ]
branches: [main, develop]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
Expand All @@ -24,4 +27,4 @@ jobs:
cache: true

- name: Run Go Tests
run: go test -coverprofile=coverage.out ./...
run: go test -coverprofile coverage.out ./...

0 comments on commit 4fc14cf

Please sign in to comment.