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

Start tracking Cargo.lock file #171

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
39 changes: 39 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,45 @@ jobs:
- name: Execute cargo udeps
run: cargo +nightly udeps

build:
name: Execute builds with updated dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install SoftHSM
run: |
sudo apt-get update -y -qq &&
sudo apt-get install -y -qq libsofthsm2 &&
mkdir /tmp/tokens
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf

- name: Install Rust targets
run: |
rustup target add armv7-unknown-linux-gnueabi &&
rustup target add armv7-unknown-linux-gnueabihf &&
rustup target add arm-unknown-linux-gnueabi &&
rustup target add aarch64-unknown-linux-gnu &&
rustup target add i686-unknown-linux-gnu &&
rustup target add powerpc64-unknown-linux-gnu &&
rustup target add powerpc64le-unknown-linux-gnu &&
rustup target add x86_64-pc-windows-msvc &&
rustup target add x86_64-apple-darwin &&
rustup target add aarch64-apple-darwin &&
rustup target add x86_64-unknown-freebsd

- name: Test script
env:
PKCS11_SOFTHSM2_MODULE: /usr/lib/softhsm/libsofthsm2.so
SOFTHSM2_CONF: /tmp/softhsm2.conf
run: |
rm Cargo.lock
./ci.sh

audit:
name: Check for crates with security vulnerabilities
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
*target
**/*.rs.bk
*Cargo.lock
*.swp
*DS_Store
*.patch
Expand Down
Loading
Loading