Skip to content

Commit

Permalink
Merge pull request #17 from yassinebenaid/add-tests-workflow
Browse files Browse the repository at this point in the history
Added Tests github actions workflow
  • Loading branch information
yassinebenaid authored Jun 6, 2024
2 parents cb915b5 + e766033 commit 56e0c4d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on:
pull_request:
types: [opened, reopened]
branches: [master]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
cache: false

- name: Test
run: go test

0 comments on commit 56e0c4d

Please sign in to comment.