From 1d554ef1c9dc44f18117c9a4cf17d49554a2730b Mon Sep 17 00:00:00 2001 From: Alvaro Jesus Bernal Caunedo <80347035+alvarobernal2412@users.noreply.github.com> Date: Sun, 17 Nov 2024 16:04:51 +0100 Subject: [PATCH] chore: update renovate config (#14) * chore(deps): updated renovate configuration * chore: updated codespace configuration * chore: updated CODEWONERS * chore: changed renovate reviewer --- .devcontainer/devcontainer.json | 26 ++++++++++++++++---------- .github/CODEOWNERS | 2 +- .github/renovate.json | 23 ++++++++++++++--------- 3 files changed, 31 insertions(+), 20 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cab8513..87d4bde 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,16 +1,22 @@ { - "name": "Base FIS Codespace", - "image": "mcr.microsoft.com/devcontainers/base:debian", + "name": "Rust Microservice DevContainer", + "image": "mcr.microsoft.com/devcontainers/rust:latest", "features": { - "ghcr.io/devcontainers/features/docker-in-docker:2": { - "installDockerComposeSwitch": false - }, - "ghcr.io/devcontainers/features/node:1": { - "version": "22", - "npm": "latest" + "ghcr.io/devcontainers/features/docker-in-docker:2": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "tamasfe.even-better-toml", + "vadimcn.vscode-lldb" + ] } }, - "hostRequirements": { - "cpus": 8 + "postCreateCommand": "cargo update", + "settings": { + "editor.formatOnSave": true, + "files.exclude": { + "**/target": true + } } } diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index eb52af5..ed85ec7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @adrrf @AntonioRodriguezRuiz +* @adrrf @AntonioRodriguezRuiz @alvarobernal2412 diff --git a/.github/renovate.json b/.github/renovate.json index f1659e4..ad9b4fb 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,14 +2,19 @@ "timezone": "Europe/Madrid", "packageRules": [ { - "matchManagers": ["npm"], - "matchDepTypes": ["devDependencies"], - "groupName": "npm (development)" + "matchManagers": ["cargo"], + "matchDepTypes": ["dependencies"], + "groupName": "cargo (runtime)" }, { - "matchManagers": ["npm"], - "matchDepTypes": ["dependencies"], - "groupName": "npm (runtime)" + "matchManagers": ["cargo"], + "matchDepTypes": ["dev-dependencies"], + "groupName": "cargo (development)" + }, + { + "matchManagers": ["cargo"], + "matchDepTypes": ["build-dependencies"], + "groupName": "cargo (build)" }, { "matchManagers": ["github-actions"], @@ -31,8 +36,8 @@ "groupName": "vulnerable", "labels": ["🔒 Security", "📦 Dependencies"] }, - "ignoreDeps": ["npm", "node"], - "enabledManagers": ["npm", "github-actions"], + "ignoreDeps": ["cargo", "rust"], + "enabledManagers": ["cargo", "github-actions"], "labels": ["📦 Dependencies"], "rebaseWhen": "behind-base-branch", "rangeStrategy": "pin", @@ -41,7 +46,7 @@ "groupName": "lockfiles", "schedule": ["every month"] }, - "assignees": ["alvarobernal2412"], + "assignees": ["AntonioRodriguezRuiz"], "reviewers": ["adrrf"], "extends": ["mergeConfidence:age-confidence-badges"] }