Skip to content

Commit 717a743

Browse files
Merge pull request #6 from JasonHuang9527/hsuanhs/cicd
Setup CI/CD workflow and update Go version.
2 parents 344ac2a + f374cc4 commit 717a743

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches: [ "main" ]
4+
pull_request:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v5
16+
with:
17+
go-version: '1.23'
18+
19+
- name: Get dependencies
20+
run: go mod tidy
21+
22+
- name: Build
23+
run: go build -v ./...
24+
25+
- name: Test
26+
run: go test -v ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/cloudspannerecosystem/spanner-cassandra-schema-tool
22

3-
go 1.25
3+
go 1.23.0
44

55
require (
66
cloud.google.com/go/spanner v1.78.0

0 commit comments

Comments
 (0)