Skip to content

Commit

Permalink
misc(ci): Add GitHub Action
Browse files Browse the repository at this point in the history
Commands and versions from previous, removed .travis.yml configuration.
  • Loading branch information
Kissaki committed Mar 14, 2024
1 parent c8df497 commit 13a6183
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow will build a golang project. For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.9', '1.10.x', '1.14.x' ]
name: Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build mumble.info/grumble/cmd/grumble
- name: Test
run: go test -v ./...

0 comments on commit 13a6183

Please sign in to comment.