Skip to content

Commit

Permalink
feat: bump actions-checkout to v4 and fix config test error
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesho committed Oct 25, 2024
1 parent 81ad2ce commit 5e0a249
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/all-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
all-tools: ${{ steps.filter.outputs['all-tools'] }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Filter commit changes
uses: dorny/paths-filter@v2
id: filter
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
name: All tools build and push
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SELF_GITHUB_SSH_KEY }}
submodules: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bridge-ui-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get version from package.json
id: package-version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
cache-images: ${{ steps.filter.outputs.cache-images }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Filter commit changes
uses: dorny/paths-filter@v2
id: filter
Expand All @@ -34,7 +34,7 @@ jobs:
runs-on: [self-hosted, ubuntu-20.04, X64, small]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ jobs:
name: Run Load Test
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
no-changes: ${{ steps.filter.outputs.coordinator == 'false' && steps.filter.outputs.postman == 'false' && steps.filter.outputs.prover == 'false' && steps.filter.outputs.traces-api-facade == 'false' && steps.filter.outputs.transaction-exclusion-api == 'false' }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Filter commit changes
uses: dorny/paths-filter@v3
id: filter
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postman-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
echo "TAGS=${{ env.IMAGE_NAME }}:${{ env.COMMIT_TAG }},${{ env.IMAGE_NAME }}:${{ env.DEVELOP_TAG }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SELF_GITHUB_SSH_KEY }}
submodules: true
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/postman-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ jobs:
name: Postman & SDK tests
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
uses: actions/checkout@v4

- name: Setup nodejs environment
uses: ./.github/actions/setup-nodejs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prover-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
go-version: 1.23.x
- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse-run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
if: ${{ inputs.e2e-tests-with-ssh }}
uses: lhotari/action-upterm@v1
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup nodejs environment
uses: ./.github/actions/setup-nodejs
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse-store-image-name-and-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
develop_tag: ${{ steps.step1.outputs.DEVELOP_TAG }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Compute version tags
id: step1
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/traces-api-facade-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ jobs:
run: |
echo "TAGS=${{ env.IMAGE_NAME }}:${{ env.COMMIT_TAG }},${{ env.IMAGE_NAME }}:${{ env.DEVELOP_TAG }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/traces-api-facade-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ jobs:
name: Traces api facade tests
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ jobs:
run: |
echo "TAGS=${{ env.IMAGE_NAME }}:${{ env.COMMIT_TAG }},${{ env.IMAGE_NAME }}:${{ env.DEVELOP_TAG }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/transaction-exclusion-api-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ jobs:
name: Transaction exclusion api tests
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class CoordinatorConfigTest {
listOf(
URI("http://traces-api:8080/").toURL()
),
requestLimitPerEndpoint = 20U,
requestLimitPerEndpoint = 2U,
requestRetry = RequestRetryConfigTomlFriendly(
backoffDelay = Duration.parse("PT1S"),
failuresWarningThreshold = 2
Expand Down Expand Up @@ -286,7 +286,7 @@ class CoordinatorConfigTest {
endpoints = listOf(
URI("http://shomei:8888/").toURL()
),
requestLimitPerEndpoint = 3U,
requestLimitPerEndpoint = 2U,
requestRetry = RequestRetryConfigTomlFriendly(
backoffDelay = Duration.parse("PT2S"),
failuresWarningThreshold = 2
Expand Down Expand Up @@ -842,7 +842,7 @@ class CoordinatorConfigTest {
listOf(
URI("http://traces-node-v2:8545/").toURL()
),
requestLimitPerEndpoint = 20U,
requestLimitPerEndpoint = 2U,
requestRetry = RequestRetryConfigTomlFriendly(
backoffDelay = Duration.parse("PT1S"),
failuresWarningThreshold = 2
Expand Down

0 comments on commit 5e0a249

Please sign in to comment.