new: replaced old travis build file with github workflow

This commit is contained in:
Simone Margaritelli
2024-04-04 17:05:17 -04:00
parent 4eeb645290
commit b4e5b65ab7
2 changed files with 20 additions and 10 deletions

20
.github/workflows/go.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Go
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21.x', '1.22.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Run Tests and Build
run: go test ./... && make

View File

@@ -1,10 +0,0 @@
language: go
sudo: false
go:
- 1.22.x
git:
depth: 3
install:
- make