Skip to content

Commit

Permalink
Update project development tools (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse authored Jan 6, 2024
1 parent ba5bf7d commit eff321f
Show file tree
Hide file tree
Showing 12 changed files with 555 additions and 391 deletions.
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
groups:
dependencies:
patterns:
- "*"
reviewers:
- "rlespinasse"
labels: [ ]

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
dependencies:
patterns:
- "*"
reviewers:
- "rlespinasse"
labels: [ ]
41 changes: 0 additions & 41 deletions .github/workflows/ci.yml

This file was deleted.

20 changes: 11 additions & 9 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ name: Security audit

on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
- "**/Cargo.toml"
- "**/Cargo.lock"

jobs:
security_audit:
security-audit:
runs-on: ubuntu-latest
concurrency:
group: security-audit-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Audit check
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
uses: actions/checkout@v4

- name: Audit
run: make audit
42 changes: 42 additions & 0 deletions .github/workflows/wints.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build

on: push

env:
RUSTFLAGS: "-Dwarnings"

jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: build-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build
run: make build

- name: Test
run: xvfb-run --auto-servernum make test

- name: Format
run: make fmt-check

- name: Clippy
run: make clippy

- name: Audit
run: make audit
Loading

0 comments on commit eff321f

Please sign in to comment.