Skip to content

Commit

Permalink
adding test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk authored Oct 27, 2024
1 parent 349041c commit a4fb012
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/gotest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.20', '1.21', '1.22', '1.23']

steps:
- uses: actions/checkout@v4
- name: Setting up go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: $ {{ matrix.go-version }}

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

0 comments on commit a4fb012

Please sign in to comment.