Skip to content

Commit

Permalink
only run safety check on linux v2
Browse files Browse the repository at this point in the history
  • Loading branch information
rlittlefield committed Jun 4, 2024
1 parent c970502 commit 782e812
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ jobs:
VALIDATE_PYTHON_BLACK: true
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

safety-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pyupio/safety-action@v1
with:
api-key: ${{ secrets.SAFETY_API_KEY }}
test:
strategy:
fail-fast: false
Expand All @@ -37,10 +43,6 @@ jobs:
- name: dependency checks
run: |
poetry check
- uses: pyupio/safety-action@v1
with:
api-key: ${{ secrets.SAFETY_API_KEY }}
runs-on: ubuntu-latest
- name: install dependencies
run: |
poetry install
Expand Down

0 comments on commit 782e812

Please sign in to comment.