diff --git a/.github/helper/install.sh b/.github/helper/install.sh index ce3401804..56ca30c45 100644 --- a/.github/helper/install.sh +++ b/.github/helper/install.sh @@ -6,7 +6,7 @@ cd ~ || exit sudo apt-get update sudo apt-get -y remove mysql-server mysql-client -sudo apt-get -y install redis-server libcups2-dev mariadb-client-10.6 -qq +sudo apt install libcups2-dev redis-server mariadb-client pip install frappe-bench diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 366751e31..8acb3f665 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: run: echo "127.0.0.1 test_site" | sudo tee -a /etc/hosts - name: Cache pip - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt') }} @@ -59,7 +59,7 @@ jobs: ${{ runner.os }}-pip- ${{ runner.os }}- - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -74,7 +74,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -93,7 +93,7 @@ jobs: TYPE: server - name: Upload coverage data - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true files: /home/runner/frappe-bench/sites/coverage.xml diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index ebb88c9ed..9994e7b01 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -17,7 +17,7 @@ jobs: python-version: 3.8 - name: Install and Run Pre-commit - uses: pre-commit/action@v2.0.3 + uses: pre-commit/action@v3.0.0 - name: Download Semgrep rules run: git clone --depth 1 https://github.com/frappe/semgrep-rules.git frappe-semgrep-rules