diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c33f056..1846743 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,9 @@ name: build on: - pull_request: - release: - types: [published] + pull_request: [] + push: + branches: + - main jobs: ruff: runs-on: ubuntu-latest diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index bbc3007..99753ee 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -7,6 +7,7 @@ permissions: jobs: release: env: + python-version: "3.11" poetry-version: "1.5.1" runs-on: ubuntu-latest permissions: @@ -16,6 +17,10 @@ jobs: url: https://pypi.org/p/dl-myo steps: - uses: actions/checkout@v3 + - name: Set up Python ${{ env.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ env.python-version }} - name: Set up Poetry uses: abatilo/actions-poetry@v2 with: