Skip to content

Commit

Permalink
[feat] cabal project pinning of security-advisories
Browse files Browse the repository at this point in the history
  • Loading branch information
MangoIV committed May 9, 2024
1 parent a5cbdaf commit 9a91c24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,6 @@ jobs:
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: 'latest'
- name: install packages from security-advisories
run: |
git clone https://github.com/haskell/security-advisories ./hsec
echo 'packages:
./hsec/code/osv
./hsec/code/cvss
./hsec/code/hsec-core
./hsec/code/hsec-tools
test-show-details: direct
enable-test: true
' > cabal.project.local
cat cabal.project.local
ls -l ./hsec/code
- name: Freeze
run: cabal freeze
- name: Cache
Expand Down
8 changes: 8 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
packages:
./.

source-repository-package
type: git
subdir: code/hsec-core
subdir: code/hsec-tools
subdir: code/cvss
subdir: code/osv
location: https://github.com/haskell/security-advisories.git

test-show-details: direct

0 comments on commit 9a91c24

Please sign in to comment.