Skip to content

Commit

Permalink
ci: upgrade actions version
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Jul 20, 2024
1 parent 8712484 commit 6d55622
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/actions/sync-content/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
python-version: '3.8'
cache: 'poetry'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: apache/pulsar
path: tmp/pulsar
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 600
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: 'asf-site-next'
path: tmp/asf-site-next
token: ${{ secrets.PULSARBOT_TOKEN }}
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'poetry'
- name: Set Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- run: corepack enable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dummy-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Sync content without push
uses: ./.github/actions/sync-content
10 changes: 5 additions & 5 deletions .github/workflows/ci-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check license header
env:
IMAGE: ghcr.io/korandoru/hawkeye-native:v2
Expand All @@ -42,21 +42,21 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 600
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: 'asf-site-next'
path: tmp/asf-site-next
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'poetry'
- name: Set Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- run: corepack enable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-sync-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.PULSARBOT_TOKEN }}
- name: Sync content and push
Expand Down

0 comments on commit 6d55622

Please sign in to comment.