generated from ghga-de/microservice-repository-template
-
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.
* Perform template changes and move to python 3.12 * Use new test fixtures * Add 'default=' to config classes, add missing key param to event sub translator * Ruff formatting and remove further Optional * Update config and readme docs * Update license headers * Update deployment dockerfile
- Loading branch information
1 parent
33f66ed
commit 89c38df
Showing
72 changed files
with
1,342 additions
and
1,314 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
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
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
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
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,16 +1,23 @@ | ||
name: Check if the config schema and the example are up to date. | ||
name: Check if pyproject.toml file is up to date | ||
|
||
on: push | ||
|
||
jobs: | ||
static-code-analysis: | ||
name: Check pyproject file | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout repository | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- id: common | ||
uses: ghga-de/gh-action-common@v4 | ||
- name: Common steps | ||
id: common | ||
uses: ghga-de/gh-action-common@v6 | ||
|
||
- name: Check pyproject.toml | ||
id: check-pyproject | ||
run: | | ||
./scripts/update_pyproject.py --check |
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,16 +1,23 @@ | ||
name: Check if the readme is up to date. | ||
name: Check if the README file is up to date | ||
|
||
on: push | ||
|
||
jobs: | ||
static-code-analysis: | ||
name: Check README file | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout repository | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- id: common | ||
uses: ghga-de/gh-action-common@v4 | ||
- name: Common steps | ||
id: common | ||
uses: ghga-de/gh-action-common@v6 | ||
|
||
- name: Check readme | ||
- name: Check README | ||
id: check-readme | ||
run: | | ||
./scripts/update_readme.py --check |
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
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
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
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 |
---|---|---|
|
@@ -4,24 +4,36 @@ on: push | |
|
||
jobs: | ||
static-code-analysis: | ||
runs-on: ubuntu-latest | ||
name: Static Code Analysis | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout repository | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- id: common | ||
uses: ghga-de/gh-action-common@v4 | ||
- name: Common steps | ||
id: common | ||
uses: ghga-de/gh-action-common@v6 | ||
|
||
- uses: pre-commit/[email protected] | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
env: | ||
SKIP: no-commit-to-branch | ||
- name: ruff | ||
|
||
- name: Run ruff | ||
id: ruff | ||
run: | | ||
ruff check --output-format=github . | ||
ruff format --check . | ||
- name: mypy | ||
- name: Run mypy | ||
id: mypy | ||
run: | | ||
mypy . | ||
- name: Check license header and file | ||
id: license-checker | ||
run: | | ||
./scripts/license_checker.py | ||
./scripts/check_license.py |
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
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
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
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
Oops, something went wrong.