diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml index b8b38b6..5490de8 100644 --- a/.github/workflows/black.yaml +++ b/.github/workflows/black.yaml @@ -18,7 +18,7 @@ jobs: name: runner / black formatter runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Run black formatter checks # https://github.com/rickstaa/action-black uses: rickstaa/action-black@v1 diff --git a/.github/workflows/flake8.yaml b/.github/workflows/flake8.yaml index 8c12047..fe66f2b 100644 --- a/.github/workflows/flake8.yaml +++ b/.github/workflows/flake8.yaml @@ -20,8 +20,8 @@ jobs: name: Python Lint Flake8 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: "3.8" - name: Install flake8 diff --git a/.github/workflows/isort.yaml b/.github/workflows/isort.yaml index 3fb5ea7..6a3ef52 100644 --- a/.github/workflows/isort.yaml +++ b/.github/workflows/isort.yaml @@ -20,8 +20,8 @@ jobs: name: runner / isort runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v3 with: python-version: "3.8" - name: Install isort diff --git a/.github/workflows/misspell.yaml b/.github/workflows/misspell.yaml index c116120..d78842c 100644 --- a/.github/workflows/misspell.yaml +++ b/.github/workflows/misspell.yaml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code. - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: misspell if: ${{ !env.ACT }} uses: reviewdog/action-misspell@v1 with: github_token: ${{ secrets.github_token }} locale: "US" - reporter: github-check # Change reporter. + reporter: github-check # Change reporter. diff --git a/.github/workflows/tag_and_release.yaml b/.github/workflows/tag_and_release.yaml index a7370be..c2c6bc0 100644 --- a/.github/workflows/tag_and_release.yaml +++ b/.github/workflows/tag_and_release.yaml @@ -22,6 +22,10 @@ jobs: uses: actions/setup-python@v3 with: python-version: 3.8 + + - name: Install requirements + run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Read VERSION file id: getversion run: echo "::set-output name=version::$(python ./setup.py --version)" @@ -42,9 +46,7 @@ jobs: running-workflow-name: "Tag and Release" repo-token: ${{ secrets.GITHUB_TOKEN }} wait-interval: 30 - - name: Install requirements - if: steps.tagged.outputs.tagged == 1 - run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Install build tools if: steps.tagged.outputs.tagged == 1 run: pip install setuptools wheel build diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index 28557d0..4b43a46 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -15,10 +15,10 @@ jobs: yamllint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: 3.8