Skip to content

Commit 4fddf91

Browse files
authored
CI: re-enable benches and security audit (#287)
These were temporarily disabled to complete upgrading dependencies
1 parent 89e99a2 commit 4fddf91

File tree

3 files changed

+59
-60
lines changed

3 files changed

+59
-60
lines changed

.github/workflows/benches.yml

+34-35
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,34 @@
1-
# TODO(tarcieri): re-enable after UHFs are bumped
2-
#name: benches
3-
#
4-
#on:
5-
# pull_request:
6-
# paths:
7-
# - "benches/**"
8-
# - "Cargo.*"
9-
# push:
10-
# branches: master
11-
#
12-
#defaults:
13-
# run:
14-
# working-directory: benches
15-
#
16-
#env:
17-
# CARGO_INCREMENTAL: 0
18-
# RUSTFLAGS: "-Dwarnings"
19-
#
20-
#jobs:
21-
# build:
22-
# runs-on: ubuntu-latest
23-
# strategy:
24-
# matrix:
25-
# rust:
26-
# - 1.41.0 # MSRV
27-
# - stable
28-
# steps:
29-
# - uses: actions/checkout@v1
30-
# - uses: actions-rs/toolchain@v1
31-
# with:
32-
# profile: minimal
33-
# toolchain: ${{ matrix.rust }}
34-
# override: true
35-
# - run: cargo build --release
1+
name: benches
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "benches/**"
7+
- "Cargo.*"
8+
push:
9+
branches: master
10+
11+
defaults:
12+
run:
13+
working-directory: benches
14+
15+
env:
16+
CARGO_INCREMENTAL: 0
17+
RUSTFLAGS: "-Dwarnings"
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
rust:
25+
- 1.41.0 # MSRV
26+
- stable
27+
steps:
28+
- uses: actions/checkout@v1
29+
- uses: actions-rs/toolchain@v1
30+
with:
31+
profile: minimal
32+
toolchain: ${{ matrix.rust }}
33+
override: true
34+
- run: cargo build --release

.github/workflows/security-audit.yml

+24-25
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
1-
# TODO(tarcieri): re-enable after UHFs are bumped
2-
#name: Security Audit
3-
#on:
4-
# pull_request:
5-
# paths: Cargo.lock
6-
# push:
7-
# branches: master
8-
# paths: Cargo.lock
9-
# schedule:
10-
# - cron: "0 0 * * *"
11-
#
12-
#jobs:
13-
# security_audit:
14-
# name: Security Audit
15-
# runs-on: ubuntu-latest
16-
# steps:
17-
# - uses: actions/checkout@v1
18-
# - name: Cache cargo bin
19-
# uses: actions/cache@v1
20-
# with:
21-
# path: ~/.cargo/bin
22-
# key: ${{ runner.os }}-cargo-audit-v0.12
23-
# - uses: actions-rs/audit-check@v1
24-
# with:
25-
# token: ${{ secrets.GITHUB_TOKEN }}
1+
name: Security Audit
2+
on:
3+
pull_request:
4+
paths: Cargo.lock
5+
push:
6+
branches: master
7+
paths: Cargo.lock
8+
schedule:
9+
- cron: "0 0 * * *"
10+
11+
jobs:
12+
security_audit:
13+
name: Security Audit
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v1
17+
- name: Cache cargo bin
18+
uses: actions/cache@v1
19+
with:
20+
path: ~/.cargo/bin
21+
key: ${{ runner.os }}-cargo-audit-v0.12
22+
- uses: actions-rs/audit-check@v1
23+
with:
24+
token: ${{ secrets.GITHUB_TOKEN }}

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)