From 47ad63765ac64f79d052a6d8ed51fa63f65bfd8f Mon Sep 17 00:00:00 2001 From: rina Date: Mon, 2 Sep 2024 16:05:51 +1000 Subject: [PATCH] use coursier/setup-action --- .github/workflows/test.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33bcce20..dd33dbe4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -91,17 +91,14 @@ jobs: - uses: cachix/install-nix-action@v25 - run: echo 'preparing nix shell environment' - - uses: actions/setup-java@v4 - with: - distribution: adopt - java-version: 17 - - uses: coursier/cache-action@v6 - - run: cs install mill + - uses: coursier/setup-action@v1 + with: + jvm: adopt:11 + apps: sbt mill - run: dune build --profile release - run: echo ':gen A64 .* scala true offlineASL-scala/lifter/generated' | OCAMLRUNPARAM=b dune exec asli - - run: mill lifter.assembly - - run: mill main.compile - - run: mill main.run --opcode 0x8b031041 + - run: 'cd offlineASL-scala && mill lifter.assembly' + - run: 'cd offlineASL-scala && mill main.run --help'