From 13a618338a6c9e8defb8b6ceeac5835303f626e5 Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Thu, 14 Mar 2024 10:35:02 +0100 Subject: [PATCH] misc(ci): Add GitHub Action Commands and versions from previous, removed .travis.yml configuration. --- .github/workflows/go.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..a5728f1 --- /dev/null +++ b/.github/workflows/go.yml @@ -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 ./...