From ec24664f7d0e6f221c49246af1460d7161272b17 Mon Sep 17 00:00:00 2001 From: Derich Pacheco Date: Tue, 10 Sep 2024 14:32:25 -0300 Subject: [PATCH] feat: Upgrade to 1.23 (#40) --- .github/workflows/go.yml | 25 ++++++++++++++++--------- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2b0d432..6eef79d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,16 +13,23 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go: + - "1.23" + - "1.22" + - "1.21" + name: "Test: go v${{ matrix.go }}" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: 1.19 + - name: Setup go + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go }} - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... \ No newline at end of file + - name: Test + run: go test -v ./... \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 280d5bd..8be7d17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 +FROM golang:1.23 WORKDIR /app diff --git a/go.mod b/go.mod index c3a9cd9..353c6da 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/resend/resend-go/v2 -go 1.19 +go 1.23 require github.com/stretchr/testify v1.8.2