diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml new file mode 100644 index 0000000..3b3ccb5 --- /dev/null +++ b/.github/workflows/go-test.yml @@ -0,0 +1,24 @@ +name: go-test + +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + go-test: + strategy: + matrix: + go-version: [1.26.x, 1.27.x] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + with: + go-version: ${{ matrix.go-version }} + check-latest: true + - run: go test ./... diff --git a/go.mod b/go.mod index 8264e83..a85a8f8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/utxorpc/go-codegen -go 1.26.0 +go 1.26.10 require ( connectrpc.com/connect v1.21.1