Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project development tools #17

Merged
merged 8 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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