Skip to content

Commit

Permalink
Merge pull request #483 from shogo82148/update-readme-2024-02-05
Browse files Browse the repository at this point in the history
Update Go version and actions versions
  • Loading branch information
shogo82148 authored Feb 5, 2024
2 parents 1e54661 + 4548578 commit 6612579
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
Add the following step snippet to your workflows.

```yaml
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: "1.21"
- run: go test -v -coverprofile=profile.cov ./...

- uses: shogo82148/actions-goveralls@v1
Expand All @@ -32,28 +32,29 @@ Here is an example of matrix builds.
```yaml
on: [push, pull_request]
jobs:

test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.19'
- '1.18'
- '1.17'
- '1.16'
- '1.15'
- '1.14'
- '1.13'
- '1.12'
- '1.11'
- "1.21"
- "1.20"
- "1.19"
- "1.18"
- "1.17"
- "1.16"
- "1.15"
- "1.14"
- "1.13"
- "1.12"
- "1.11"

steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: go test -v -coverprofile=profile.cov ./...

- name: Send coverage
Expand Down

0 comments on commit 6612579

Please sign in to comment.