Skip to content

Commit

Permalink
Merge master
Browse files Browse the repository at this point in the history
  • Loading branch information
threecgreen committed Nov 17, 2023
1 parent 94297b4 commit 029a0f2
Show file tree
Hide file tree
Showing 14 changed files with 1,288 additions and 1,429 deletions.
36 changes: 8 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: CI

on:
push:
schedule:
- cron: '30 18 * * 1'
env:
CARGO_TERM_COLOR: always
FORCE_COLOR: true
Expand All @@ -30,11 +28,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install clippy
- name: Install nightly and clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly
override: true
components: clippy
- name: Build
uses: actions-rs/cargo@v1
Expand All @@ -57,17 +56,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
rust-audit:
name: Rust dependency audit
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Audit
uses: actions-rs/cargo@v1
with:
command: audit
args: --ignore RUSTSEC-2020-0071 --ignore RUSTSEC-2021-0124 --ignore RUSTSEC-2021-0079 --ignore RUSTSEC-2021-0078 --ignore RUSTSEC-2020-0159

js:
name: JS
runs-on: ubuntu-latest
Expand All @@ -82,6 +71,10 @@ jobs:
with:
command: run
args: --bin gen_contracts
- name: Install NPM
uses: actions/setup-node@v3
with:
node-version: 18.3
- name: Install
run: npm ci --dev
- name: Build
Expand All @@ -90,16 +83,3 @@ jobs:
run: npm run test
- name: Lint
run: npm run lint
js-audit:
name: JS dependency audit
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install better-npm-audit
run: npm install better-npm-audit -g
- name: Audit
run: better-npm-audit audit --production
Loading

0 comments on commit 029a0f2

Please sign in to comment.