Skip to content

Commit

Permalink
Opam Dependency Submission
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Oct 21, 2023
1 parent 4c2d4ca commit 321f659
Show file tree
Hide file tree
Showing 19 changed files with 125,274 additions and 83,942 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# displayed by default in pull requests.
/.yarn/** linguist-vendored

/analysis/dist/*.js -diff linguist-generated
/analysis/dist/*.txt -diff linguist-generated
/dist/**/*.js -diff linguist-generated
/dist/**/*.txt -diff linguist-generated
/lint-doc/dist/*.js -diff linguist-generated
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,17 @@ jobs:
- "5.1"
allow-prelease-opam:
- false
dune-cache:
- true
include:
- os: windows-latest
ocaml-compiler: "4.14"
allow-prelease-opam: false
dune-cache: false
- os: ubuntu-latest
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-flambda
allow-prelease-opam: true
dune-cache: false

runs-on: ${{ matrix.os }}

Expand All @@ -105,7 +109,7 @@ jobs:
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prelease-opam: ${{ matrix.allow-prelease-opam }}
dune-cache: ${{ matrix.os != 'windows-latest' }}
dune-cache: ${{ matrix.dune-cache }}

- run: opam depext --install uri

Expand Down
14 changes: 14 additions & 0 deletions analysis/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Analysis
description: Calculates dependencies for a opam build-target and submits the list to the Dependency Submission API
author: Sora Morimoto
branding:
icon: package
color: orange
inputs:
token:
description: DO NOT SET THIS.
required: false
default: ${{ github.token }}
runs:
using: node20
main: dist/index.js
294 changes: 294 additions & 0 deletions analysis/dist/LICENSE.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 321f659

Please sign in to comment.