Skip to content

Commit

Permalink
ci: update the GHAs
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleloscozzese committed Dec 24, 2024
1 parent 71ea2ae commit a6d22b6
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,36 @@ on:

jobs:
lint:
name: Standards checks
name: "Standards checks"
strategy:
fail-fast: false
matrix:
go-version: ["1.18", "1.23"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
- uses: actions/checkout@v4
with:
version: v1.29
show-progress: false
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: golangci/golangci-lint-action@v6
with:
version: v1.60
args: -v --skip-dirs internal

test:
name: Run tests
name: "Run tests"
strategy:
fail-fast: false
matrix:
go-version: ["1.18", "1.23"]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v2
- run: go test -v github.com/adevinta/vonage-go-sdk github.com/adevinta/vonage-go-sdk/jwt github.com/adevinta/vonage-go-sdk/ncco
- uses: actions/checkout@v4
with:
show-progress: false
- run: "go test -v github.com/adevinta/vonage-go-sdk github.com/adevinta/vonage-go-sdk/jwt github.com/adevinta/vonage-go-sdk/ncco"

0 comments on commit a6d22b6

Please sign in to comment.