Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"image": "ghcr.io/eclipse-score/devcontainer:main",
"customizations": {
"vscode": {
"extensions": [
"detachhead.basedpyright",
"github.vscode-github-actions"
]
}
},
"postCreateCommand": "uv sync --dev"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,15 @@ updates:
update-types:
- minor
- patch

- package-ecosystem: devcontainers
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ecosystem only looks for devcontainer features. For images I currently experiment with Dockerfiles

directory: /
schedule:
interval: weekly
groups:
all-in-one:
patterns:
- "*"
update-types:
- minor
- patch
25 changes: 12 additions & 13 deletions .github/workflows/check_new_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,21 @@ jobs:
env:
SCORE_BOT_CLASSIC_PAT: ${{ secrets.SCORE_BOT_CLASSIC_PAT }}

- name: ⚙️ Setup uv
uses: astral-sh/setup-uv@v5
- name: 🛠️ Setup Python Dependencies
run: uv sync --dev

- name: 🧩 Run update script
uses: devcontainers/ci@v0.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -o pipefail
set -eu
{
printf "This PR updates the modules to their latest versions.\n"
printf "Please review and merge if everything looks good.\n\n"
uv run registry-manager ${{ github.event.inputs.module }}
} | tee /tmp/output.log
with:
cacheFrom: ghcr.io/eclipse-score/devcontainer@main
push: never
runCmd: |
set -o pipefail
set -eu
{
printf "This PR updates the modules to their latest versions.\n"
printf "Please review and merge if everything looks good.\n\n"
uv run registry-manager ${{ github.event.inputs.module }}
} | tee /tmp/output.log

- name: 📤 Create Pull Request
uses: peter-evans/create-pull-request@v8
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- name: 📥 Check out
uses: actions/checkout@v6

- name: ⚙️ Setup uv
uses: astral-sh/setup-uv@v5

- name: 🛠️ Run pre-commit
run: uv run pre-commit run --all-files
uses: devcontainers/ci@v0.3
with:
cacheFrom: ghcr.io/eclipse-score/devcontainer@main
push: never
runCmd: pre-commit run --all-files
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ registry-manager = "registry_manager.main:cli"
dev = [
"pyfakefs",
"pytest",
"ruff",
"basedpyright",
"pre-commit",
]

[tool.hatch.build.targets.wheel]
Expand Down
Loading