Skip to content

Commit

Permalink
revert lock-file deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil committed Apr 22, 2024
1 parent 3d7cbaa commit d4f90fd
Show file tree
Hide file tree
Showing 4 changed files with 3,277 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "🧪 Build & test code"
name: '🧪 Build & test code'

on:
workflow_dispatch:
Expand Down Expand Up @@ -31,6 +31,9 @@ jobs:
python-version: ${{matrix.python-version}}
cache: "poetry"

- name: Check pyproject.toml validity
run: poetry check --no-interaction

- name: Install deps
run: poetry install --no-interaction

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Scan third-party dependencies
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
run: snyk test --package-manager=poetry --policy-path=.snyk --severity-threshold=medium
run: snyk test --file=poetry.lock --package-manager=poetry --policy-path=.snyk --severity-threshold=medium

- name: Scan code for vulnerabilities
continue-on-error: true
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,4 @@ tests/test_adhoc.py
.DS_Store

# Other
.tmp/

poetry.lock
.tmp/
Loading

0 comments on commit d4f90fd

Please sign in to comment.