Skip to content

Commit

Permalink
update git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Apr 1, 2024
1 parent c3f2f48 commit 1715624
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/flake8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/isort.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/misspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
8 changes: 5 additions & 3 deletions .github/workflows/tag_and_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1715624

Please sign in to comment.