From df265bbcd83aff46bec5be27a8030c9cb76917c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Conde?= <16060539+joao-conde@users.noreply.github.com> Date: Fri, 1 Dec 2023 19:57:26 +0000 Subject: [PATCH] fix: installation of scalafmt --- .github/workflows/2022.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/2022.yml b/.github/workflows/2022.yml index a2afd7e..05ba959 100644 --- a/.github/workflows/2022.yml +++ b/.github/workflows/2022.yml @@ -5,11 +5,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: curl https://raw.githubusercontent.com/scalameta/scalafmt/master/bin/install-scalafmt-native.sh | bash -s -- $VERSION $INSTALL_LOCATION - env: - VERSION: 3.6.1 - INSTALL_LOCATION: . + - run: curl https://raw.githubusercontent.com/scalameta/scalafmt/master/bin/install-scalafmt-native.sh | bash -s -- 3.6.1 $(pwd)/scalafmt - run: ls - - run: ./scalafmt-native - - run: ./scalafmt-native --version - - run: ./scalafmt-native src/*.scala + - run: ./scalafmt + - run: ./scalafmt --version + - run: ./scalafmt src/*.scala