-
Notifications
You must be signed in to change notification settings - Fork 56
39 lines (28 loc) · 1.08 KB
/
midnight.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Check every midnight
on:
schedule:
- cron: '0 0 * * *'
jobs:
deps_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Cargo dependencies security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
e2e_debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install environment dependencies
run: |
sudo apt-get update -y -qq
sudo apt-get install -y g++-9 cmake libcurl4-openssl-dev libelf-dev libdw-dev cmake gcc binutils-dev protobuf-compiler librocksdb-dev
just || curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git casey/just --target x86_64-unknown-linux-musl --to ~/.cargo/bin
- name: Load persistent storage
run: |
curl -L https://github.com/witnet/witnet-rust/releases/download/0.5.0-rc1/witnet-rust-testnet-5-tests-storage.tar.gz --output ./storage.tar.gz
tar -zxf ./storage.tar.gz
- name: Run debug E2E test
run: just e2e-debug