From 14f18c100c2f8c3ec9c60c14330d926cd2d6f639 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 4 Apr 2022 22:47:56 -0400 Subject: Properly handling variance for arrays to avoid invalid subtyping. --- .github/workflows/setup_aedifex/action.yml | 5 ++++- .github/workflows/test.yml | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to '.github') 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 -- cgit v1.2.3