@@ -5,7 +5,7 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ubuntu:latest
|
||||
image: rust:latest
|
||||
|
||||
# Service containers to run with `container-job`
|
||||
services:
|
||||
@@ -28,14 +28,16 @@ jobs:
|
||||
- 5432:5432
|
||||
|
||||
steps:
|
||||
- run: apt update && apt upgrade -y && apt install nodejs curl git build-essential pkg-config openssl libssl-dev curl -y
|
||||
- run: curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
- name: Install necessary dependencies
|
||||
run: apt update && apt install nodejs pkgconfig -y
|
||||
- name: Install docker
|
||||
run: curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
|
||||
# - name: Install Rust
|
||||
# uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# toolchain: nightly
|
||||
# override: true
|
||||
# components: rustfmt, clippy
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Run migrations
|
||||
|
||||
Reference in New Issue
Block a user