From cdc911dabd38403427e55ebd54d103c3dff46f58 Mon Sep 17 00:00:00 2001 From: lizelive Date: Fri, 22 Mar 2024 22:22:18 +0000 Subject: [PATCH] add devcontainer --- .devcontainer/devcontainer.json | 24 ++++++++++++++++++++++++ .github/dependabot.yml | 12 ++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .github/dependabot.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000000000..97566c441f0209 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,24 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet +{ + "name": "C# (.NET)", + "image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm", + // Use 'forwardPorts' to make a list of ports inside the container available locally. + "forwardPorts": [ + 1212 + ], + "portsAttributes": { + "1212": { + "requireLocalPort ": true, + "label": "SS14 Server" + } + }, + "updateContentCommand": "git submodule update --init --recursive", + "customizations": { + "vscode": { + "extensions": [ + "GitHub.vscode-github-actions" + ] + } + } +} \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000000000..f33a02cd16e48a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly