Scylla Server in Rust #620
This file contains 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: Build | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
- 'feature/**' | |
jobs: | |
run-build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Compose | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y install docker-compose | |
- name: Build Docker Compose | |
run: | | |
if ! docker-compose build; then | |
echo "Docker Compose build failed." | |
exit 1 # This will cause the workflow to fail | |
fi |