Files
Roy Lee aef4e45bd7
Build and Test / Go CI (1.18.2) (push) Waiting to run
golangci-lint / lint (push) Waiting to run
goreleaser / goreleaser (push) Waiting to run
[lbry] ci: add github workflows
2022-05-24 02:49:08 -07:00

33 lines
717 B
YAML

name: Build and Test
on: [push, pull_request]
jobs:
build:
# https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
permissions:
contents: read
name: Go CI
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.18.2]
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@v2
- name: Build
run: go build ./...
- name: Test
run: |
sh ./goclean.sh
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov