-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
113 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,64 @@ | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "gitsubmodule" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
target-branch: "develop" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "06:00" | ||
timezone: "UTC" | ||
target-branch: "develop" | ||
commit-message: | ||
prefix: "[GH-Actions]" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- "dependencies" | ||
- "github-actions" | ||
automerge: true | ||
automerge-strategy: "merge" | ||
|
||
- package-ecosystem: "docker" | ||
directory: "/build" | ||
schedule: | ||
interval: "daily" | ||
target-branch: "develop" | ||
|
||
- package-ecosystem: "gomod" | ||
directory: "/build" | ||
schedule: | ||
interval: "daily" | ||
target-branch: "develop" | ||
|
||
- package-ecosystem: "maven" | ||
directory: "/build" | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "07:00" | ||
timezone: "UTC" | ||
target-branch: "develop" | ||
commit-message: | ||
prefix: "[Python]" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- "dependencies" | ||
- "python" | ||
automerge: true | ||
automerge-strategy: "merge" | ||
|
||
- package-ecosystem: "npm" | ||
directory: "/build" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "08:00" | ||
timezone: "UTC" | ||
target-branch: "develop" | ||
commit-message: | ||
prefix: "[NPM]" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- "dependencies" | ||
- "npm" | ||
automerge: true | ||
automerge-strategy: "squash" | ||
|
||
- package-ecosystem: "pip" | ||
directory: "/build/python" | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
interval: "weekly" | ||
time: "09:00" | ||
timezone: "UTC" | ||
target-branch: "develop" | ||
commit-message: | ||
prefix: "[Docker]" | ||
open-pull-requests-limit: 5 | ||
labels: | ||
- "dependencies" | ||
- "docker" | ||
automerge: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Dependency CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Run tests | ||
run: pytest tests/ | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install lint dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 | ||
- name: Run linting | ||
run: flake8 . | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build the project | ||
run: npm run build |