diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..5a079e8 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: build + +on: [push] + +jobs: + build: + runs-on: ubuntu-18.04 + strategy: + matrix: + go: ["1.15"] + name: Go ${{ matrix.go }} build + steps: + - uses: actions/checkout@v2 + - name: Setup go + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go }} + - run: go build diff --git a/README.md b/README.md index 7b68d88..3bfc24a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # gonso +[![build status](https://github.com/dqn/gonso/workflows/build/badge.svg)](https://github.com/dqn/gonso/actions) + Nintendo Switch Online API wrapper written in Go. ## Installation