aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorEduardo Julian2022-04-04 22:47:56 -0400
committerEduardo Julian2022-04-04 22:47:56 -0400
commit14f18c100c2f8c3ec9c60c14330d926cd2d6f639 (patch)
treea033abb73d7d6ca51878df76df7732e977dfabe3 /.github
parent8eb86ed366b2305751f2e831c7a081ffcca82c89 (diff)
Properly handling variance for arrays to avoid invalid subtyping.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/setup_aedifex/action.yml5
-rw-r--r--.github/workflows/test.yml2
2 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/setup_aedifex/action.yml b/.github/workflows/setup_aedifex/action.yml
index bc848c2f0..fa70014a3 100644
--- a/.github/workflows/setup_aedifex/action.yml
+++ b/.github/workflows/setup_aedifex/action.yml
@@ -1,3 +1,5 @@
+# https://cardinalby.github.io/blog/post/github-actions/dry-reusing-code-in-github-actions/
+# https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
name: 'Setup Aedifex'
runs:
using: "composite"
@@ -8,7 +10,8 @@ runs:
distribution: 'temurin'
java-version: '17'
- - uses: actions/checkout@v2
+ # Presumably, whoever invokes this action already has done a checkout.
+ # - uses: actions/checkout@v2
- run: wget https://github.com/LuxLang/lux/releases/download/0.6.5/aedifex_do_not_touch_3.jar && mv aedifex_do_not_touch_3.jar aedifex.jar
shell: bash
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index f8b31badd..740da5621 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -4,11 +4,13 @@ jobs:
test_stdlib_on_jvm:
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v2
- uses: ./.github/workflows/setup_aedifex
- run: cd ./stdlib/ && ../lux.sh with jvm with bibliotheca test
test_stdlib_on_node_js:
runs-on: ubuntu-latest
steps:
+ - uses: actions/checkout@v2
- uses: ./.github/workflows/setup_aedifex
# https://github.com/actions/setup-node
- uses: actions/setup-node@v2