test with container
This commit is contained in:
parent
0b25300b57
commit
2acda2295d
@ -4,11 +4,11 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: python:3.10
|
||||||
steps:
|
steps:
|
||||||
|
- run: apt-get update
|
||||||
|
- run: apt-get install -y git nodejs
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: https://git.crystalyx.net/Xefir/actions-setup-python@main
|
|
||||||
with:
|
|
||||||
python-version: 3.10
|
|
||||||
- uses: https://github.com/Gr1N/setup-poetry@v8
|
- uses: https://github.com/Gr1N/setup-poetry@v8
|
||||||
- run: poetry install
|
- run: poetry install
|
||||||
- run: poetry run flake8 .
|
- run: poetry run flake8 .
|
||||||
|
Loading…
Reference in New Issue
Block a user