From 6b29f4b369306db7fd468cf1833d26bb6adb15ae Mon Sep 17 00:00:00 2001 From: Codeafix Date: Sat, 28 Mar 2026 17:36:07 +0000 Subject: [PATCH 1/5] Configure Dependabot for npm and gomod updates --- .github/dependabot.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..bf0f40e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +# 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 all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "npm" # See documentation for possible values + directory: "web/" # Location of package manifests + schedule: + interval: "weekly" + target-branch: "develop" + - package-ecosystem: "gomod" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + target-branch: "develop" From 57f8a6c4f3a01c053c4d392caef11a06e0092250 Mon Sep 17 00:00:00 2001 From: Codeafix Date: Sat, 28 Mar 2026 17:42:30 +0000 Subject: [PATCH 2/5] Add GitHub Actions package ecosystem to Dependabot Added support for GitHub Actions in Dependabot configuration. --- .github/dependabot.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index bf0f40e..4c15c41 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,3 +15,9 @@ updates: schedule: interval: "weekly" target-branch: "develop" + - package-ecosystem: "github-actions" + # Workflow files stored in the default location of `.github/workflows` + # You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`. + directory: "/" + schedule: + interval: "weekly" From a939342c5873e2f279f0687dfd6d2050afdc3a37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 17:43:01 +0000 Subject: [PATCH 3/5] Bump actions/setup-go from 5 to 6 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/Build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 288c519..501bc4f 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: '1.21' From be54d233a684faee4a6713a95790e28e391b4e41 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 17:43:03 +0000 Subject: [PATCH 4/5] Bump actions/checkout from 4 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/Build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 288c519..2f8af3a 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -11,7 +11,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Go uses: actions/setup-go@v5 From 172e196ce7a0daa08592eb8c0fdb66ccc47228ec Mon Sep 17 00:00:00 2001 From: Codeafix Date: Sat, 28 Mar 2026 17:55:56 +0000 Subject: [PATCH 5/5] Replace Switch with Routes in Main component --- web/src/Main.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/Main.tsx b/web/src/Main.tsx index 0bbb7b5..0bc718b 100644 --- a/web/src/Main.tsx +++ b/web/src/Main.tsx @@ -1,16 +1,16 @@ import React from 'react'; -import {Switch, Route} from 'react-router-dom'; +import {Routes, Route} from 'react-router-dom'; import './App.css'; import Home from './Home/Home'; import Simulation from './Simulation/Simulation'; const Main = () => (
- - - - + + }/> + }/> +
) - export default Main; \ No newline at end of file + export default Main;