OTWO-7410 Upgrade ruby version to 3.1.7 #51
Workflow file for this run
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: CI Pipeline | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| push: | |
| branches: [main] | |
| jobs: | |
| ci_task: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run rubocop and tests | |
| run: | | |
| docker pull --platform=linux/amd64 priyar101/ohloh_scm:latest | |
| cmd='/etc/init.d/ssh start; rake test 2> /dev/null' | |
| docker run --platform=linux/amd64 --rm -P -v $(pwd):/home/app/ohloh_scm -i priyar101/ohloh_scm:latest /bin/sh -c "$cmd" |