diff --git a/.github/workflows/logging_percentage_check.yml b/.github/workflows/logging_percentage_check.yml index 7b5627d45..e9f84c313 100644 --- a/.github/workflows/logging_percentage_check.yml +++ b/.github/workflows/logging_percentage_check.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check for log lines and calculate percentage run: | diff --git a/.github/workflows/nightly_installer.yml b/.github/workflows/nightly_installer.yml index 034c08e8c..d11fe6401 100644 --- a/.github/workflows/nightly_installer.yml +++ b/.github/workflows/nightly_installer.yml @@ -4,7 +4,7 @@ # # This action will try to install and setup # # chatwoot on an Ubuntu 20.04 machine using # # the linux installer script. -# # +# # # # This is set to run daily at midnight. # # @@ -35,7 +35,7 @@ jobs: run: | sudo ./install.sh --install < input - # disabling http verify for now as http + # disabling http verify for now as http # access to port 3000 fails in gh action env # - name: Verify # if: always() @@ -45,7 +45,7 @@ jobs: # curl http://localhost:3000/api - name: Upload chatwoot setup log file as an artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: chatwoot-setup-log-file diff --git a/.github/workflows/publish_codespace_image.yml b/.github/workflows/publish_codespace_image.yml index 60632d906..647608473 100644 --- a/.github/workflows/publish_codespace_image.yml +++ b/.github/workflows/publish_codespace_image.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Login to GitHub Container Registry uses: docker/login-action@v1 diff --git a/.github/workflows/publish_foss_docker.yml b/.github/workflows/publish_foss_docker.yml index 2ddaba7e5..d48b82a58 100644 --- a/.github/workflows/publish_foss_docker.yml +++ b/.github/workflows/publish_foss_docker.yml @@ -21,7 +21,7 @@ jobs: GIT_REF: ${{ github.head_ref || github.ref_name }} # ref_name to get tags/branches steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v1 diff --git a/.github/workflows/run_foss_spec.yml b/.github/workflows/run_foss_spec.yml index 7a32f3fd1..b0b2372ae 100644 --- a/.github/workflows/run_foss_spec.yml +++ b/.github/workflows/run_foss_spec.yml @@ -41,7 +41,7 @@ jobs: options: --entrypoint redis-server steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -50,7 +50,7 @@ jobs: with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 cache: yarn @@ -76,11 +76,11 @@ jobs: - name: Run backend tests run: | bundle exec rspec --profile=10 --format documentation - env: + env: NODE_OPTIONS: --openssl-legacy-provider - name: Upload rails log folder - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: rails-log-folder diff --git a/.github/workflows/run_response_bot_spec.yml b/.github/workflows/run_response_bot_spec.yml index 6fd6a7b22..77b96c48a 100644 --- a/.github/workflows/run_response_bot_spec.yml +++ b/.github/workflows/run_response_bot_spec.yml @@ -40,7 +40,7 @@ jobs: options: --entrypoint redis-server steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -49,7 +49,7 @@ jobs: with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 cache: yarn @@ -77,7 +77,7 @@ jobs: --format documentation - name: Upload rails log folder - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: rails-log-folder diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index 01d72339d..0526aeedb 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -19,7 +19,7 @@ jobs: with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'yarn' @@ -31,7 +31,7 @@ jobs: run: | rm -rf enterprise rm -rf spec/enterprise - + - name: Run asset compile run: bundle exec rake assets:precompile env: