Skip to content

Commit

Permalink
Update and rename .travis.yml to .github/workflows/go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HaraldNordgren authored Aug 1, 2024
1 parent c4c8777 commit 2889296
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 2889296

Please sign in to comment.