-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all github actions we depend on
- Loading branch information
Showing
3 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,19 +22,19 @@ jobs: | |
build-and-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
cache: pip | ||
cache-dependency-path: scripts/py/requirements.txt | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.18 | ||
cache: npm | ||
cache-dependency-path: scripts/js/package-lock.json | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
if: ${{ !env.ACT }} | ||
with: | ||
path: .maps-cache | ||
|
@@ -48,7 +48,7 @@ jobs: | |
- name: Test | ||
run: source .envrc && make -j $(nproc) test | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: gen-artifacts | ||
path: gen | ||
|
@@ -57,9 +57,9 @@ jobs: | |
needs: build-and-test | ||
if: vars.MAPS_METADATA_BUCKET_NAME && (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: gen-artifacts | ||
path: gen | ||
|
@@ -86,24 +86,24 @@ jobs: | |
needs: build-and-test | ||
if: vars.ENABLE_BYAR_CHOBBY_PUSH && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch') | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: gen-artifacts | ||
path: gen | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
cache: pip | ||
cache-dependency-path: scripts/py/requirements.txt | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.18 | ||
cache: npm | ||
cache-dependency-path: scripts/js/package-lock.json | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
if: ${{ !env.ACT }} | ||
with: | ||
path: .maps-cache | ||
|
@@ -113,7 +113,7 @@ jobs: | |
- name: Install dependencies | ||
run: ./scripts/install.sh | ||
- name: Checkout BYAR-Chobby | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.repository_owner }}/BYAR-Chobby | ||
path: BYAR-Chobby | ||
|
@@ -148,12 +148,12 @@ jobs: | |
if: vars.ENABLE_SPADS_CONFIG_PUSH && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch') | ||
steps: | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: gen-artifacts | ||
path: gen | ||
- name: Checkout SPADS Config | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.repository_owner }}/spads_config_bar | ||
path: spads_config_bar | ||
|
@@ -185,24 +185,24 @@ jobs: | |
needs: build-and-test | ||
if: vars.WEBFLOW_COLLECTION_ID && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch') | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: gen-artifacts | ||
path: gen | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
cache: pip | ||
cache-dependency-path: scripts/py/requirements.txt | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.18 | ||
cache: npm | ||
cache-dependency-path: scripts/js/package-lock.json | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
if: ${{ !env.ACT }} | ||
with: | ||
path: .maps-cache | ||
|
@@ -212,7 +212,7 @@ jobs: | |
- name: Install dependencies | ||
run: ./scripts/install.sh | ||
- name: Push to website | ||
uses: nick-fields/retry@v2 | ||
uses: nick-fields/retry@v3 | ||
with: | ||
timeout_minutes: 10 | ||
max_attempts: 3 | ||
|
@@ -231,19 +231,19 @@ jobs: | |
contents: read | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: gen-artifacts | ||
path: gen | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
cache: pip | ||
cache-dependency-path: scripts/py/requirements.txt | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.18 | ||
cache: npm | ||
|
@@ -252,7 +252,7 @@ jobs: | |
run: ./scripts/install.sh | ||
- name: Authenticate to Google Cloud | ||
id: auth | ||
uses: google-github-actions/auth@v1 | ||
uses: google-github-actions/auth@v2 | ||
with: | ||
workload_identity_provider: projects/187238959541/locations/global/workloadIdentityPools/github-actions/providers/github | ||
service_account: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,16 +43,16 @@ jobs: | |
else | ||
echo "pr_title=Update map ${to_sync} from rowy" >> $GITHUB_OUTPUT | ||
fi | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
ssh-key: ${{ secrets.SSH_SELF_DEPLOY_KEY }} | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.11 | ||
cache: pip | ||
cache-dependency-path: scripts/py/requirements.txt | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.18 | ||
cache: npm | ||
|
@@ -61,7 +61,7 @@ jobs: | |
run: ./scripts/install.sh | ||
- name: Authenticate to Google Cloud | ||
id: auth | ||
uses: google-github-actions/auth@v1 | ||
uses: google-github-actions/auth@v2 | ||
with: | ||
workload_identity_provider: projects/187238959541/locations/global/workloadIdentityPools/github-actions/providers/github | ||
service_account: [email protected] | ||
|
@@ -71,7 +71,7 @@ jobs: | |
make types | ||
ts-node scripts/js/src/update_from_rowy.ts map_list.yaml ${{ steps.set_properties.outputs.map_to_sync }} | ||
- name: Commit and create or update PR | ||
uses: peter-evans/create-pull-request@v5 | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
commit-message: Update map_list.yaml with new map data | ||
branch: sync-map-${{ steps.set_properties.outputs.map_to_sync }} | ||
|