Skip to content

Commit

Permalink
Bump ristretto (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirSaber Sharifi authored Nov 1, 2021
1 parent 1025204 commit bd9e518
Show file tree
Hide file tree
Showing 6 changed files with 181 additions and 240 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Cargo audit
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "CI"

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install dependencies
run: cargo install --force cargo-audit cbindgen
- name: Build & Test
run: cargo build && cargo test
23 changes: 23 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches:
- master
pull_request:
branches:
- master

name: Clippy check
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: -- -D warnings -A clippy::missing_safety_doc
Loading

0 comments on commit bd9e518

Please sign in to comment.