Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/cargo/reqsign-0.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre authored Dec 5, 2023
2 parents 90031df + 920564c commit bd7e98b
Show file tree
Hide file tree
Showing 30 changed files with 846 additions and 301 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,15 @@ jobs:
fail-fast: false
matrix:
job:
- { os: macos-12 }
release: ["13.2"]
- { os: ubuntu-22.04 }
steps:
- uses: actions/checkout@v4
- name: Prepare, build and test
uses: vmactions/freebsd-vm@v0
uses: vmactions/freebsd-vm@v1.0.2
with:
mem: 8192
usesh: true
sync: rsync
copyback: false
prepare: pkg install -y ca_root_nss curl gmake gtar pot sudo
run: |
Expand All @@ -289,7 +289,7 @@ jobs:
TEST_USER=tester
TEST_USER_HOME="/opt/$TEST_USER"
REPO_NAME=${GITHUB_WORKSPACE##*/}
WORKSPACE_PARENT="/Users/runner/work/${REPO_NAME}"
WORKSPACE_PARENT="/home/runner/work/${REPO_NAME}"
WORKSPACE="${WORKSPACE_PARENT}/${REPO_NAME}"
export WORKSPACE
#
Expand Down
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: local
hooks:
- id: rust-linting
name: Rust linting
description: Run cargo fmt on files included in the commit.
entry: cargo +nightly fmt --
pass_filenames: true
types: [file, rust]
language: system
- id: rust-clippy
name: Rust clippy
description: Run cargo clippy on files included in the commit.
entry: cargo +nightly clippy --workspace --all-targets --all-features --
pass_filenames: false
types: [file, rust]
language: system
Loading

0 comments on commit bd7e98b

Please sign in to comment.