diff --git a/.github/workflows/mainnet-db-migration-auto.yml b/.github/workflows/mainnet-db-migration-auto.yml index 3e0f31b50..f71ddf43d 100644 --- a/.github/workflows/mainnet-db-migration-auto.yml +++ b/.github/workflows/mainnet-db-migration-auto.yml @@ -21,7 +21,7 @@ jobs: with: lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} @@ -39,6 +39,6 @@ jobs: if: always() env: GITHUB_CONTEXT: ${{ toJson(github) }} - with: + with: command: | flu send-discord --webhook-url ${{ secrets.FLU_CI_DISCORD_WEBHOOK_URL }} --status ${{ job.status }} diff --git a/.github/workflows/mainnet-db-migration-manual.yml b/.github/workflows/mainnet-db-migration-manual.yml index ae28a924f..4ce079995 100644 --- a/.github/workflows/mainnet-db-migration-manual.yml +++ b/.github/workflows/mainnet-db-migration-manual.yml @@ -28,7 +28,7 @@ jobs: with: lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} diff --git a/.github/workflows/mainnet-frontend.yml b/.github/workflows/mainnet-frontend.yml index cead1caae..789513cc5 100644 --- a/.github/workflows/mainnet-frontend.yml +++ b/.github/workflows/mainnet-frontend.yml @@ -34,7 +34,7 @@ jobs: fetch-depth: 2 lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} @@ -67,7 +67,7 @@ jobs: fetch-depth: 2 lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} diff --git a/.github/workflows/mainnet-manual.yml b/.github/workflows/mainnet-manual.yml index e20e9c677..2ef8b56a3 100644 --- a/.github/workflows/mainnet-manual.yml +++ b/.github/workflows/mainnet-manual.yml @@ -45,7 +45,7 @@ jobs: with: lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} diff --git a/.github/workflows/mainnet-microservices.yml b/.github/workflows/mainnet-microservices.yml index 602f87d43..ea5344883 100644 --- a/.github/workflows/mainnet-microservices.yml +++ b/.github/workflows/mainnet-microservices.yml @@ -27,7 +27,7 @@ jobs: fetch-depth: 2 lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} @@ -60,7 +60,7 @@ jobs: fetch-depth: 2 lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} diff --git a/.github/workflows/rollback-prev-commit.yml b/.github/workflows/rollback-prev-commit.yml index 20f3d7a07..58ca9d5da 100644 --- a/.github/workflows/rollback-prev-commit.yml +++ b/.github/workflows/rollback-prev-commit.yml @@ -11,7 +11,7 @@ on: network: type: choice description: 'Network' - options: + options: - 'fluidity' permissions: @@ -28,7 +28,7 @@ jobs: fetch-depth: 0 lfs: true - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} @@ -49,7 +49,7 @@ jobs: uses: ./scripts/actions with: command: | - + echo ${{ env.PREVIOUS_COMMIT }} flu build-docker \ --network ${{ github.event.inputs.network }} \ @@ -59,13 +59,13 @@ jobs: --build-root-container true \ --build-build-container true \ --tag ${{ env.PREVIOUS_COMMIT }} - + - name: Deploy id: deploy uses: ./scripts/actions with: command: | - + flu deploy-service \ --network ${{ github.event.inputs.network }} \ --group all \ @@ -73,13 +73,13 @@ jobs: --environment ${{ github.event.inputs.environment }} \ --debug false \ --tag ${{ env.PREVIOUS_COMMIT }} - + - name: Discord uses: ./scripts/actions if: always() env: GITHUB_CONTEXT: ${{ toJson(github) }} - with: + with: command: | flu send-discord --webhook-url ${{ secrets.FLU_CI_DISCORD_WEBHOOK_URL }} --status ${{ job.status }} - + diff --git a/.github/workflows/rollback.yml b/.github/workflows/rollback.yml index 157a3b0d8..2005852f0 100644 --- a/.github/workflows/rollback.yml +++ b/.github/workflows/rollback.yml @@ -63,7 +63,7 @@ jobs: lfs: true ref: ${{ github.event.inputs.rollbackTo }} - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} @@ -114,7 +114,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1-node16 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ap-southeast-2 role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index bb2c8b617..eb87f9238 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -60,7 +60,7 @@ jobs: - name: Install nodejs uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install rust uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install python