aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-03-06 10:01:09 +0100
committerGravatar GitHub <noreply@github.com> 2024-03-06 10:01:09 +0100
commit3a4fd0d50620c875ae267a33e4be49f02a4796da (patch)
tree9d8c5500fa1ee60acf64162ed6c53f3ab34dc804
parent5aeab896e9042478e8de0c0989fe1be3b208d31f (diff)
GitHub Actions and Dependabot (#6164)
* GitHub Actions and Dependabot fix https://github.com/FreshRSS/FreshRSS/issues/6163 * Also for npm
-rw-r--r--.github/dependabot.yml25
-rw-r--r--.github/workflows/tests.yml4
2 files changed, 27 insertions, 2 deletions
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