Skip to content

Commit

Permalink
Create ci.yml
Browse files Browse the repository at this point in the history
Add CI testing workflow
  • Loading branch information
M-Porter authored Jan 25, 2024
1 parent c5b34e9 commit 9d0bc4f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
os: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}

steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache: false

- uses: actions/checkout@v3

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

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

0 comments on commit 9d0bc4f

Please sign in to comment.