Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmaxim committed Jun 4, 2024
1 parent 3802268 commit 5740d94
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: pragmaxim
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
15 changes: 15 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
- pull_request
- workflow_dispatch

name: criterion benchmark
jobs:
runBenchmark:
name: run benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: boa-dev/criterion-compare-action@v3
with:
# Use the base branch name as the branch to compare with
branchName: ${{ github.base_ref }}
53 changes: 53 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Rust

on:
pull_request:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: "00 04 * * *"

jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v1

- name: Install Rust
uses: actions-rs/toolchain/@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: clippy

- name: Build
uses: actions-rs/cargo@v1
with:
command: build

- name: Run Tests
uses: actions-rs/cargo@v1
with:
command: test

- name: Audit for Security Vulnerabilities
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Generate Docs
uses: actions-rs/cargo@v1
with:
command: doc
args: --all-features --no-deps

0 comments on commit 5740d94

Please sign in to comment.