Skip to content

Commit

Permalink
chore(workflow): update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Apr 21, 2021
1 parent 3fa84a4 commit 8b54cc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint-action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: lint
name: Lint
on: [push]
jobs:
golint:
runs-on: ubuntu-latest
name: lint
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: test
on: [push, pull_request]
name: Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand All @@ -16,4 +15,4 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -cover -coverprofile=coverage.out .
run: go test -cover .

0 comments on commit 8b54cc3

Please sign in to comment.