Support Rack 3 #3
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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Ruby 3.4 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| - name: Install Docker and Docker Compose | |
| run: | | |
| # Install Docker using the official convenience script | |
| curl -fsSL https://get.docker.com -o get-docker.sh | |
| sh get-docker.sh | |
| sudo apt-get install -y docker-compose | |
| - name: Build Docker image | |
| run: docker-compose build | |
| - name: Install environment support | |
| run: gem install rake rspec | |
| - name: Run tests | |
| run: | | |
| rake compile_protos_ruby | |
| rake compile_js_client | |
| rake compile_node_client | |
| rake run_specs_in_docker |