Skip to content

Commit dff933a

Browse files
authored
Merge branch 'main' into required-optionals
2 parents 690a65b + de8bd9e commit dff933a

5 files changed

Lines changed: 455 additions & 27 deletions

File tree

‎.github/workflows/sdk-testing.yml‎

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 # v5.3.0
3131
with:
3232
distribution: 'temurin'
33-
java-version: '17'
33+
java-version: '21'
3434

3535
- name: Generate code
3636
run: python3 generate-code.py
@@ -47,7 +47,7 @@ jobs:
4747
language: java
4848
github-token: ${{ secrets.GITHUB_TOKEN }}
4949

50-
- name: Execute Java SDK test
50+
- name: Run tests
5151
run: ./gradlew build
5252

5353
test-python:
@@ -72,7 +72,7 @@ jobs:
7272
- name: Setup Python
7373
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
7474
with:
75-
python-version: '3.11'
75+
python-version: '3.14'
7676

7777
- name: Install dependencies
7878
run: |
@@ -94,7 +94,7 @@ jobs:
9494
language: python
9595
github-token: ${{ secrets.GITHUB_TOKEN }}
9696

97-
- name: Test with pytest
97+
- name: Run tests
9898
run: tox
9999

100100
test-php:
@@ -119,7 +119,7 @@ jobs:
119119
- name: Setup PHP
120120
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
121121
with:
122-
php-version: '8.2'
122+
php-version: '8.5'
123123

124124
- uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 # v5.3.0
125125
with:
@@ -144,8 +144,8 @@ jobs:
144144
language: php
145145
github-token: ${{ secrets.GITHUB_TOKEN }}
146146

147-
- name: Run unit tests
148-
run: ./vendor/bin/phpunit --test-suffix=Test.php
147+
- name: Run tests
148+
run: composer check
149149

150150
test-nodejs:
151151
runs-on: ubuntu-latest
@@ -176,7 +176,7 @@ jobs:
176176
- name: Setup Node.js
177177
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
178178
with:
179-
node-version: '20'
179+
node-version: '26'
180180

181181
- name: Install Dependency
182182
run: npm ci
@@ -196,8 +196,8 @@ jobs:
196196
language: nodejs
197197
github-token: ${{ secrets.GITHUB_TOKEN }}
198198

199-
- name: Test Project
200-
run: export NODE_OPTIONS=--max-old-space-size=6144; npm test
199+
- name: Run tests
200+
run: npm run checkAll
201201

202202
test-go:
203203
runs-on: ubuntu-latest
@@ -253,20 +253,8 @@ jobs:
253253
language: go
254254
github-token: ${{ secrets.GITHUB_TOKEN }}
255255

256-
- name: run tests
257-
run: go test ./...
258-
259-
- name: go vet
260-
run: go vet $(go list ./... | grep -v /examples/)
261-
262-
- name: Compile example scripts
263-
run: |
264-
for file in $(find ./examples/ -name '*.go'); do
265-
dir=$(dirname $file)
266-
pushd $dir
267-
go build -o /dev/null
268-
popd
269-
done
256+
- name: Run tests
257+
run: bash script/checkAll.sh
270258

271259
test-ruby:
272260
runs-on: ubuntu-latest
@@ -289,7 +277,7 @@ jobs:
289277
# https://github.com/line/line-bot-sdk-ruby/blob/master/.github/workflows/pull_request.yml
290278
- uses: ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1.314.0
291279
with:
292-
ruby-version: 3.4
280+
ruby-version: 4.0
293281
- uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 # v5.3.0
294282
with:
295283
distribution: 'temurin'

‎channel-access-token.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ paths:
284284
type: object
285285
properties:
286286
access_token:
287-
description: "Channel access token"
287+
description: "A short-lived or long-lived channel access token."
288288
type: string
289289
required:
290290
- access_token

0 commit comments

Comments
 (0)