From 3a4fd0d50620c875ae267a33e4be49f02a4796da Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 6 Mar 2024 10:01:09 +0100 Subject: GitHub Actions and Dependabot (#6164) * GitHub Actions and Dependabot fix https://github.com/FreshRSS/FreshRSS/issues/6163 * Also for npm --- .github/dependabot.yml | 25 +++++++++++++++++++++++++ .github/workflows/tests.yml | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..e687493a4 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,25 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "monthly" + groups: + production-dependencies: + dependency-type: "production" + development-dependencies: + dependency-type: "development" + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "monthly" + - package-ecosystem: "composer" + directory: "/lib/" + schedule: + interval: "monthly" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e36254d22..ac63d982b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,7 +29,7 @@ jobs: - name: Use Composer cache id: composer-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} @@ -79,7 +79,7 @@ jobs: - name: Use shell cache id: shell-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: bin key: ${{ runner.os }}-bin-shfmt@v3.7.0-hadolint@v2.12.0-typos@v1.17.0 -- cgit v1.2.3