Skip to content

Commit dc4a667

Browse files
AchoArnoldCopilot
andcommitted
refactor: rename workflows and use published httpsms-go package
- Rename integration-test.yml to api.yml - Rename ci.yml to web.yml - Use published httpsms-go v0.0.8 instead of local replace directive - Remove SDK checkout and sed workaround steps from CI Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5081e8b commit dc4a667

4 files changed

Lines changed: 6 additions & 18 deletions

File tree

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: integration-test
1+
name: api
22

33
on:
44
push:
@@ -18,23 +18,11 @@ jobs:
1818
- name: Checkout 🛎
1919
uses: actions/checkout@v4
2020

21-
- name: Checkout httpsms-go SDK
22-
uses: actions/checkout@v4
23-
with:
24-
repository: NdoleStudio/httpsms-go
25-
ref: feature/add-phone-webhook-services
26-
path: httpsms-go
27-
2821
- name: Set up Go
2922
uses: actions/setup-go@v5
3023
with:
3124
go-version: "1.23"
3225

33-
- name: Fix SDK replace path for CI
34-
working-directory: ./tests
35-
run: |
36-
sed -i 's|replace github.com/NdoleStudio/httpsms-go => ../../httpsms-go|replace github.com/NdoleStudio/httpsms-go => ../httpsms-go|' go.mod
37-
3826
- name: Generate Firebase credentials
3927
run: |
4028
bash tests/generate-firebase-credentials.sh tests/firebase-credentials.json
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: web
22

33
on:
44
push:
@@ -25,7 +25,7 @@ jobs:
2525
- uses: pnpm/action-setup@v6
2626
name: Install pnpm
2727
with:
28-
version: 9
28+
version: 10
2929

3030
- name: Install dependencies 📦
3131
run: pnpm install

tests/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/NdoleStudio/httpsms/tests
33
go 1.23
44

55
require (
6-
github.com/NdoleStudio/httpsms-go v0.0.0
6+
github.com/NdoleStudio/httpsms-go v0.0.8
77
github.com/golang-jwt/jwt/v5 v5.2.1
88
github.com/google/uuid v1.6.0
99
github.com/stretchr/testify v1.11.1
@@ -15,5 +15,3 @@ require (
1515
github.com/pmezard/go-difflib v1.0.0 // indirect
1616
gopkg.in/yaml.v3 v3.0.1 // indirect
1717
)
18-
19-
replace github.com/NdoleStudio/httpsms-go => ../../httpsms-go

tests/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc
66
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
77
github.com/Microsoft/hcsshim v0.11.4 h1:68vKo2VN8DE9AdN4tnkWnmdhqdbpUFM8OF3Airm7fz8=
88
github.com/Microsoft/hcsshim v0.11.4/go.mod h1:smjE4dvqPX9Zldna+t5FG3rnoHhaB7QYxPRqGcpAD9w=
9+
github.com/NdoleStudio/httpsms-go v0.0.8 h1:KSBHUhSXuL64wyE9qa1mzktg/9Ov9dL6vHg7O/r+p3U=
10+
github.com/NdoleStudio/httpsms-go v0.0.8/go.mod h1:NLPfzJkSUOY5As8pli3USCO1ahXXH1BTlspe1pSpwbY=
911
github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM=
1012
github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
1113
github.com/containerd/containerd v1.7.12 h1:+KQsnv4VnzyxWcfO9mlxxELaoztsDEjOuCMPAuPqgU0=

0 commit comments

Comments
 (0)