Skip to content

Commit

Permalink
feat: use golang-ci-workflow (#108)
Browse files Browse the repository at this point in the history
* feat: use golang-ci-workflow

* feat: remove old golang-ci-lint workflow
  • Loading branch information
m0nhawk committed Apr 25, 2022
1 parent 6e64a18 commit ebb5a97
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 38 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/golang-ci-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Golang CI Workflow

on: push

jobs:
ci:
runs-on: ubuntu-latest
env:
COVERAGE_PROFILE_OUTPUT_LOCATION: "./profile.cov"
steps:
- name: Checkout code / lint code / install dependencies for goveralls / run tests
uses: uc-cdis/.github/.github/actions/golang-ci@master
with:
COVERAGE_PROFILE_OUTPUT_LOCATION: ${{ env.COVERAGE_PROFILE_OUTPUT_LOCATION }}
- name: Send coverage to coveralls using goveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=${{ env.COVERAGE_PROFILE_OUTPUT_LOCATION }} -service=github
38 changes: 0 additions & 38 deletions .github/workflows/golangci-lint.yml

This file was deleted.

0 comments on commit ebb5a97

Please sign in to comment.