Skip to content

Commit

Permalink
fix: installation of scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-conde committed Dec 1, 2023
1 parent a909c32 commit df265bb
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/2022.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit df265bb

Please sign in to comment.