Skip to content

Commit

Permalink
feat(cross): fluidattacks#41 update example
Browse files Browse the repository at this point in the history
- Add author to mailmap
- Update deps
- Update python
- Remove deprecated linter
  • Loading branch information
Daniel Betancur committed Nov 6, 2024
1 parent 95ff34b commit 09f4c8b
Show file tree
Hide file tree
Showing 8 changed files with 169 additions and 145 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,6 @@ jobs:
with:
args: sh -c "chown -R root:root /github/workspace && m . /lintGitMailMap"

lintMarkdown_readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: docker://ghcr.io/fluidattacks/makes/amd64:latest
name: /lintMarkdown/readme
with:
args: sh -c "chown -R root:root /github/workspace && m . /lintMarkdown/readme"

lintNix:
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,6 @@ jobs:
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

lintMarkdown_readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: docker://ghcr.io/fluidattacks/makes/amd64:latest
name: /lintMarkdown/readme
with:
args: sh -c "chown -R root:root /github/workspace && m . /lintMarkdown/readme"
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

lintNix:
runs-on: ubuntu-latest
steps:
Expand Down
36 changes: 0 additions & 36 deletions .lint-markdown/config.rb

This file was deleted.

1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Daniel Salazar <[email protected]> Daniel Salazar <[email protected]>
Daniel Salazar <[email protected]> Daniel Salazar <[email protected]>
Daniel Salazar <[email protected]> Daniel Salazar <[email protected]>
Daniel Betancur <[email protected]>
Github Octocat <[email protected]> GitHub <[email protected]>
Jason Chavarria <[email protected]> Jason Chavarria <[email protected]>
Robin Quintero <[email protected]> Robin Quintero <[email protected]>
2 changes: 1 addition & 1 deletion api/env/main.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{makePythonEnvironment, ...}:
makePythonEnvironment {
pythonProjectDir = ./.;
pythonVersion = "3.11";
pythonVersion = "3.12";
}
245 changes: 165 additions & 80 deletions api/env/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api/env/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
fastapi = "0.78.0"
uvicorn = "0.18.2"
fastapi = "0.115.4"
uvicorn = "0.32.0"

[build-system]
requires = ["poetry-core"]
Expand Down
6 changes: 0 additions & 6 deletions makes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@
lintGitMailMap = {
enable = true;
};
lintMarkdown = {
readme = {
config = "/.lint-markdown/config.rb";
targets = ["/"];
};
};
lintNix = {
enable = true;
targets = ["/"];
Expand Down

0 comments on commit 09f4c8b

Please sign in to comment.