Update rust.yml

This commit is contained in:
Flori 2023-04-15 17:47:24 +02:00 committed by GitHub
parent 34c9ffb222
commit aba68b09b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 7 deletions

View File

@ -16,14 +16,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
run: |
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y git python3 build-essential
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
git clone https://github.com/polyphony-chat/spacebarchat-server.git
- name: Prepare and start spacebarchat-server
run: |
@ -31,7 +29,7 @@ jobs:
npm run setup
npm run start &
echo $! > server_pid.txt
working-directory: ./server
working-directory: ./spacebarchat-server
- name: Build
run: cargo build --verbose
- name: Run tests