Skip to content

Commit

Permalink
Merge pull request #10 from HaraldNordgren/patch-1
Browse files Browse the repository at this point in the history
Update and rename .travis.yml to .github/workflows/go.yml
  • Loading branch information
frozzare authored Aug 21, 2024
2 parents c4c8777 + 2889296 commit 2f6f9cd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 14 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Go

on:
push:
branches:
- master
pull_request:

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
go-version: [olstable, stable]

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Run tests
run: go test -race $(go list ./... | grep -v /vendor/)
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit 2f6f9cd

Please sign in to comment.