[ruby] Add Support for ERB files (#5447) #1805
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: master | |
| on: | |
| workflow_dispatch: # allow to manually trigger this workflow | |
| push: | |
| branches: [master, main] | |
| tags: ["*"] | |
| jobs: | |
| test: | |
| concurrency: master | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 2.7 | |
| - name: Set up Swift | |
| uses: SwiftyLab/setup-swift@latest | |
| with: | |
| swift-version: "6.1" | |
| - name: Install Bundler | |
| run: gem install bundler -v 2.4.22 | |
| - name: Delete `.rustup` directory | |
| run: rm -rf /home/runner/.rustup # to save disk space | |
| if: runner.os == 'Linux' | |
| - name: Delete `.cargo` directory # to save disk space | |
| run: rm -rf /home/runner/.cargo | |
| if: runner.os == 'Linux' | |
| - run: sbt scalafmtCheck test | |
| - name: Test distribution | |
| run: | | |
| python -m pip install requests pexpect | |
| sbt joerncli/stage querydb/createDistribution | |
| python -u ./testDistro.py |