Skip to content

Commit

Permalink
feat: ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pd93 committed Aug 4, 2024
1 parent 27f4ef0 commit 29f5897
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test

on:
pull_request:
push:
tags:
- v*
branches:
- main

jobs:
test:
name: Test
strategy:
matrix:
go-version:
- 1.20.x
- 1.21.x
- 1.22.x
platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{matrix.platform}}
steps:
- name: Set up Go ${{matrix.go-version}}
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go-version}}
- name: Check out code
uses: actions/checkout@v4
- name: Test
run: go test -v ./...

0 comments on commit 29f5897

Please sign in to comment.