Skip to content

Commit

Permalink
Update actions (#32)
Browse files Browse the repository at this point in the history
* Improve docs

* Remove tests for deleted code

* Add dependabot updates

* fix version
  • Loading branch information
mfosterw authored Jan 7, 2024
1 parent d84bead commit 169b936
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
steps:

- name: Checkout Code Repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4.1.0
with:
python-version: 3.9

# Run all pre-commit hooks on all the files.
# Getting only staged files can be tricky in case a new PR is opened
# since the action is run on a branch in detached head state
- name: Install and Run Pre-commit
uses: pre-commit/action@v2.0.3
uses: pre-commit/action@v3.0.0

# With no caching at all the entire ci process takes 4m 30s to complete!
pytest:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/checkout@v2

- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4.1.0
with:
python-version: 3.9

Expand All @@ -71,7 +71,7 @@ jobs:
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache pip Project Dependencies
uses: actions/cache@v2
uses: actions/cache@v3.0.11
with:
# Get the location of pip cache dir
path: ${{ steps.pip-cache-location.outputs.dir }}
Expand All @@ -89,4 +89,4 @@ jobs:
run: coverage run -m pytest

- name: Send coverage report to codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3

0 comments on commit 169b936

Please sign in to comment.