Skip to content

Commit

Permalink
build(ci): test multiple go sdk versions (#1256)
Browse files Browse the repository at this point in the history
Multiple GoLang Versions (1.21, 1.22, 1.23)
  • Loading branch information
hazimoarafa authored Jan 19, 2025
1 parent 3a04948 commit 9eee86d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ jobs:
tests-sdk-go:
if: ${{ !contains(github.event.head_commit.message, '[skip main]') }}
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21", "1.22", "1.23"]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: "stable"
go-version: ${{ matrix.go-version }}

- name: Validate Formatting
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1 ; fi
Expand Down

0 comments on commit 9eee86d

Please sign in to comment.