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