Skip to content

Commit 92d6aa4

Browse files
committed
Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
1 parent 8701978 commit 92d6aa4

11 files changed

Lines changed: 26 additions & 26 deletions

.github/workflows/build-docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
build:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
25-
- uses: actions/setup-python@v5
24+
- uses: actions/checkout@v6
25+
- uses: actions/setup-python@v6
2626
with:
2727
python-version: 3.x
2828
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
29-
- uses: actions/cache@v4
29+
- uses: actions/cache@v5
3030
with:
3131
key: mkdocs-material-${{ env.cache_id }}
3232
path: .cache

.github/workflows/feature-matrix-updater.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
pull-requests: write
1010
steps:
1111
- name: Checkout adk-docs repo
12-
uses: actions/checkout@v4
12+
uses: actions/checkout@v6
1313

1414
- name: Set up Go
15-
uses: actions/setup-go@v5
15+
uses: actions/setup-go@v6
1616
with:
1717
go-version: '1.22'
1818

.github/workflows/go-fmt.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
gofmt:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
with:
1414
fetch-depth: 0 # Fetch all history for all tags and branches
15-
- uses: actions/setup-go@v5
15+
- uses: actions/setup-go@v6
1616
with:
1717
go-version: '1.21'
1818
- name: Run gofmt on changed files

.github/workflows/go-snippets-pr-check.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ jobs:
3030

3131
steps:
3232
- name: Checkout code
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434
with:
3535
# Fetch the entire history to compare branches in the PR.
3636
fetch-depth: 0
3737

3838
- name: Set up Go
39-
uses: actions/setup-go@v5
39+
uses: actions/setup-go@v6
4040
with:
4141
go-version: '1.22'
4242

4343
- name: Cache Go modules
44-
uses: actions/cache@v3
44+
uses: actions/cache@v5
4545
with:
4646
path: ~/go/pkg/mod
4747
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

.github/workflows/link-checker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
markdown-link-check:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828
- uses: tcort/github-action-markdown-link-check@v1
2929
with:
3030
use-quiet-mode: 'yes'

.github/workflows/publish-docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ jobs:
2626
deploy:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
- name: Configure Git Credentials
3131
run: |
3232
git config user.name github-actions[bot]
3333
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
34-
- uses: actions/setup-python@v5
34+
- uses: actions/setup-python@v6
3535
with:
3636
python-version: 3.x
3737
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
38-
- uses: actions/cache@v4
38+
- uses: actions/cache@v5
3939
with:
4040
key: mkdocs-material-${{ env.cache_id }}
4141
path: .cache

.github/workflows/python-lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
outputs:
3939
sample_dirs: ${{ steps.get_dirs.outputs.sample_dirs }}
4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v6
4242
with:
4343
ref: ${{ github.event.pull_request.head.sha }}
4444

@@ -61,12 +61,12 @@ jobs:
6161
- get_sample_dirs
6262

6363
steps:
64-
- uses: actions/checkout@v4
64+
- uses: actions/checkout@v6
6565
with:
6666
ref: ${{ github.event.pull_request.head.sha }}
6767

6868
- name: Set up Python ${{ matrix.python-version }}
69-
uses: actions/setup-python@v4
69+
uses: actions/setup-python@v6
7070
with:
7171
python-version: ${{ matrix.python-version }}
7272
cache: "pip"

.github/workflows/python-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- get_sample_dirs
4646

4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v6
4949
with:
5050
ref: ${{ github.event.pull_request.head.sha }}
5151

@@ -57,7 +57,7 @@ jobs:
5757
echo "SAMPLE_DIRS: $SAMPLE_DIRS" # For debugging
5858
5959
- name: Set up Python ${{ matrix.python-version }}
60-
uses: actions/setup-python@v4
60+
uses: actions/setup-python@v6
6161
with:
6262
python-version: ${{ matrix.python-version }}
6363
cache: "pip"
@@ -84,7 +84,7 @@ jobs:
8484
fi
8585
8686
- name: Upload pytest test results
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v6
8888
with:
8989
name: pytest-results-${{ matrix.python-version }}-${{ matrix.sample_dir }}
9090
path: |

.github/workflows/skills-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030

3131
steps:
3232
- name: Checkout code
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434
with:
3535
fetch-depth: 0
3636

3737
- name: Set up Python
38-
uses: actions/setup-python@v5
38+
uses: actions/setup-python@v6
3939
with:
4040
python-version: 3.x
4141

.github/workflows/sync-docs-index.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
sync-docs-index:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v4
32-
- uses: actions/setup-python@v5
31+
- uses: actions/checkout@v6
32+
- uses: actions/setup-python@v6
3333
with:
3434
python-version: 3.x
3535
- run: pip install -r requirements.txt

0 commit comments

Comments
 (0)