Skip to content

Commit

Permalink
add windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kavir1698 committed Feb 26, 2024
1 parent 39fcea9 commit 0b9838b
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:

build:
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -29,3 +29,22 @@ jobs:

- name: Test
run: go test -v ./...

test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install dependencies
run: go get -d -v ./...

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit 0b9838b

Please sign in to comment.