Skip to content

Commit

Permalink
Merge pull request #228 from telia-oss/add-github-actions-ci-cd
Browse files Browse the repository at this point in the history
Add support for GitHub Actions
  • Loading branch information
rickardl authored Oct 20, 2020
2 parents 2ab0f31 + fc3b6ae commit 77c75a3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install Task
run: curl -sL https://taskfile.dev/install.sh | sh
- name: Run CI Task
run: ./bin/task ci

0 comments on commit 77c75a3

Please sign in to comment.