Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Github workflow actions to v4 #436

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
combined_coverage:
uses: yext/slapshot-reusable-workflows/.github/workflows/coverage.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/coverage.yml@main
with:
test_script: npm run build:css && npm run test
secrets:
Expand All @@ -21,24 +21,24 @@ jobs:
runs-on: ubuntu-latest
needs: combined_coverage
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download the current coverage
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage
path: coverage/
- name: Get Visual Coverage Percentage
uses: yext/slapshot-reusable-workflows/get-coverage-percent@v1
uses: yext/slapshot-reusable-workflows/get-coverage-percent@main
with:
coverage-file: coverage/visual/lcov.info
id: parse-visual-coverage
- name: Get Unit Coverage Percentage
uses: yext/slapshot-reusable-workflows/get-coverage-percent@v1
uses: yext/slapshot-reusable-workflows/get-coverage-percent@main
with:
coverage-file: coverage/unit/lcov.info
id: parse-unit-coverage
- name: Get Combined Coverage Percentage
uses: yext/slapshot-reusable-workflows/get-coverage-percent@v1
uses: yext/slapshot-reusable-workflows/get-coverage-percent@main
with:
coverage-file: coverage/lcov.info
id: parse-combined-coverage
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: semgrep ci
2 changes: 1 addition & 1 deletion .github/workflows/run-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ on:

jobs:
linting:
uses: yext/slapshot-reusable-workflows/.github/workflows/run-linting.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/run-linting.yml@main
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on: [push, pull_request]

jobs:
call_run_tests-react-18:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@main
with:
node_matrix: '["16.x", "18.x"]'
secrets:
MAPBOX_API_KEY: ${{ secrets.MAPBOX_API_KEY }}

call_run_tests-react-17:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@main
with:
# We have to install these swc libraries manually because
# the post install script doesn't seem to run properly
Expand All @@ -41,7 +41,7 @@ jobs:
MAPBOX_API_KEY: ${{ secrets.MAPBOX_API_KEY }}

call_run_tests-react-16:
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/run_tests.yml@main
with:
build_script: |
npm i \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-sites-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
target_branch: ["storybook-site", "test-site"]
uses: yext/slapshot-reusable-workflows/.github/workflows/sync_default_branch.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/sync_default_branch.yml@main
with:
target_branch: ${{ matrix.target_branch }}
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync_develop_and_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ on:

jobs:
call_sync_develop_and_main:
uses: yext/slapshot-reusable-workflows/.github/workflows/sync_develop_and_main.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/sync_develop_and_main.yml@main
secrets:
caller_github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/third_party_notices_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request

jobs:
call_notices_check:
uses: yext/slapshot-reusable-workflows/.github/workflows/third_party_notices_check.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/third_party_notices_check.yml@main
with:
environment: macos-latest
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ on: pull_request

jobs:
call_update_docs:
uses: yext/slapshot-reusable-workflows/.github/workflows/update_docs.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/update_docs.yml@main
secrets:
REPO_SCOPED_TOKEN: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/update_snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
update_snapshots:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ on:

jobs:
call_version_update:
uses: yext/slapshot-reusable-workflows/.github/workflows/version_update.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/version_update.yml@main
secrets:
caller_github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/wcag_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
call_wcag_test:
uses: yext/slapshot-reusable-workflows/.github/workflows/wcag_test.yml@v1
uses: yext/slapshot-reusable-workflows/.github/workflows/wcag_test.yml@main
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
MAPBOX_API_KEY: ${{ secrets.MAPBOX_API_KEY }}
Expand Down
Binary file modified .storybook/snapshots/__snapshots__/mapboxmap--custom-pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .storybook/snapshots/__snapshots__/mapboxmap--primary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading