Skip to content

Commit 7ce9d98

Browse files
committed
CI: add Go
Signed-off-by: Xe Iaso <[email protected]>
1 parent c115b9a commit 7ce9d98

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Language-specific validation
2+
on:
3+
pull_request:
4+
branches: ["main"]
5+
push:
6+
branches: ["main"]
7+
8+
jobs:
9+
go:
10+
name: Go
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-go@v5
15+
with:
16+
cache-dependency-path: |
17+
examples/go/go.sum
18+
- name: Deps
19+
run: |
20+
cd examples/go
21+
go mod download
22+
- name: Examples
23+
run: |
24+
cd examples/go
25+
go run ./cmd/getting-started tigris-example
26+
go run ./cmd/conditional-operations tigris-example
27+
go run ./cmd/metadata-querying tigris-example
28+
go run ./cmd/object-regions tigris-example
29+
go run ./cmd/presigned-urls tigris-example
30+
env:
31+
AWS_ACCESS_KEY_ID: ${{ secrets.LANG_AWS_ACCESS_KEY_ID }}
32+
AWS_SECRET_ACCESS_KEY: ${{ secrets.LANG_AWS_SECRET_ACCESS_KEY }}
33+
AWS_REGION: auto

examples/python/requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-i https://pypi.org/simple
2+
boto3==1.36.12; python_version >= '3.8'
3+
botocore==1.36.12; python_version >= '3.8'
4+
jmespath==1.0.1; python_version >= '3.7'
5+
python-dateutil==2.9.0.post0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
6+
s3transfer==0.11.2; python_version >= '3.8'
7+
six==1.17.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
8+
urllib3==2.3.0; python_version >= '3.9'

0 commit comments

Comments
 (0)