Skip to content

Commit

Permalink
Switch to using setup-action for installing just
Browse files Browse the repository at this point in the history
Instead of a third-party action.
  • Loading branch information
StevenMaude committed Feb 14, 2024
1 parent e14130a commit 48d67c7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: opensafely-core/setup-action@v1
with:
python-version: 3.9
cache: "pip"
cache-dependency-path: requirements.*.txt
- uses: extractions/setup-just@v1
install-just: true
- name: Check formatting, linting and import sorting
run: just check

Expand All @@ -28,13 +27,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: opensafely-core/setup-action@v1
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: requirements.*.txt

- uses: extractions/setup-just@v1
install-just: true
- name: Run tests
env:
PYTHON_VERSION: python${{ matrix.python-version }}
Expand Down

0 comments on commit 48d67c7

Please sign in to comment.