diff options
author | Steve Winslow <steve@swinslow.net> | 2020-06-13 15:00:27 -0400 |
---|---|---|
committer | Steve Winslow <steve@swinslow.net> | 2020-06-13 15:00:27 -0400 |
commit | 34c8eabdfd75bfac82d64453b00afeda05fe2a49 (patch) | |
tree | fecddce2ba1d7c7513885d025bfdd3191f01f703 /.github | |
parent | feb87345dfd6d6f76a9b1fc2ef413a2e8a756be8 (diff) | |
download | spdx-tools-34c8eabdfd75bfac82d64453b00afeda05fe2a49.tar.gz |
Change CI from Travis to GitHub Actions
Signed-off-by: Steve Winslow <steve@swinslow.net>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..38e4b86 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later + +jobs: + tests: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@master + - uses: actions/setup-go@v2 + with: + go-version: '1.14' + - name: Run tests + run: go test -v -covermode=count -coverprofile=profile.cov ./... + - name: Send coverage report to coveralls + uses: shogo82148/actions-goveralls@v1 + with: + path-to-profile: profile.cov |