diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 4d583309..0ab3e332 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -7,7 +7,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@master - name: Update changelog uses: release-drafter/release-drafter@v5 diff --git a/.github/workflows/dags.yml b/.github/workflows/dags.yml index e3fdff09..e3f27d3d 100644 --- a/.github/workflows/dags.yml +++ b/.github/workflows/dags.yml @@ -30,7 +30,7 @@ jobs: ref: refs/heads/master - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install non-python dependencies diff --git a/.github/workflows/manual_release_drafter.yml b/.github/workflows/manual_release_drafter.yml index 80af6667..1d7294f4 100644 --- a/.github/workflows/manual_release_drafter.yml +++ b/.github/workflows/manual_release_drafter.yml @@ -20,7 +20,7 @@ jobs: echo "Date: ${{ github.event.inputs.date }}" echo "Comments: ${{ github.event.inputs.comments }}" - - uses: actions/checkout@v2 + - uses: actions/checkout@master - name: Update changelog uses: release-drafter/release-drafter@v5 diff --git a/.github/workflows/push_container.yml b/.github/workflows/push_container.yml index b5eb6058..b648935e 100644 --- a/.github/workflows/push_container.yml +++ b/.github/workflows/push_container.yml @@ -19,7 +19,7 @@ jobs: contents: read steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@master - name: Log in to Docker Hub uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index c0f54030..0137ab6a 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -5,6 +5,7 @@ name: Python package on: push: + workflow_dispatch: # branches: [ main ] # pull_request: # branches: [ main ] @@ -15,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Clone repo - uses: actions/checkout@v2 + uses: actions/checkout@master - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.8' - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-3.8 @@ -36,12 +37,16 @@ jobs: with: virtualenvs-create: true virtualenvs-in-project: true + - name: Disable Poetry modern installation + run: | + poetry config installer.modern-installation false + #---------------------------------------------- #---------------------------------------------- # load cached venv if cache exists #---------------------------------------------- - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .venv key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-3.8 @@ -75,12 +80,12 @@ jobs: matrix: python-version: ['3.8'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@master - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ matrix.python-version }} @@ -96,12 +101,15 @@ jobs: with: virtualenvs-create: true virtualenvs-in-project: true + - name: Disable Poetry modern installation + run: | + poetry config installer.modern-installation false #---------------------------------------------- # load cached venv if cache exists #---------------------------------------------- - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .venv key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-${{ matrix.python-version }}