Skip to content

Commit

Permalink
(ci) missing deps and version
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Aug 22, 2023
1 parent 46f21db commit 64a22ea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
on: [push, pull_request]
name: CI
jobs:
test:
build:
strategy:
matrix:
go-version: [latest, dev-latest, mod]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: kevincobain2000/action-gobrew@v2
- uses: kevincobain2000/action-gobrew@v2.2
with:
version: ${{ matrix.go-version }}

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/coveritup.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
on: [push, pull_request]
name: CoverItUp
name: Cover It Up
jobs:
CoverItUp:
coveritup:
strategy:
matrix:
go-version: [dev-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: kevincobain2000/action-gobrew@v2
- uses: kevincobain2000/action-gobrew@v2.2
with:
version: ${{ matrix.go-version }}

- name: Install Tools
run: |
go install github.com/axw/gocov/gocov@latest
go install github.com/AlekSi/gocov-xml@latest
- name: Test
run: go test -race -v ./... -count=1 -coverprofile=coverage.out

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: kevincobain2000/action-gobrew@v2
- uses: kevincobain2000/action-gobrew@v2.2
with:
version: ${{ matrix.go-version }}
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: kevincobain2000/action-gobrew@v2.1
- uses: kevincobain2000/action-gobrew@v2.2
with:
version: ${{ matrix.go-version }}

Expand Down

0 comments on commit 64a22ea

Please sign in to comment.