aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games/.github/workflows/linters.yml
diff options
context:
space:
mode:
Diffstat (limited to 'libs/basic_games/.github/workflows/linters.yml')
-rw-r--r--libs/basic_games/.github/workflows/linters.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/basic_games/.github/workflows/linters.yml b/libs/basic_games/.github/workflows/linters.yml
new file mode 100644
index 0000000..711a3a7
--- /dev/null
+++ b/libs/basic_games/.github/workflows/linters.yml
@@ -0,0 +1,24 @@
+name: linters
+
+on: [push, pull_request]
+
+jobs:
+ checks:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ path: "basic_games"
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.12
+ - uses: abatilo/actions-poetry@v2
+ - name: Install
+ run: |
+ cd basic_games
+ poetry --no-root install
+ - name: Lint
+ run: |
+ cd basic_games
+ poetry run poe lint