Skip to content

Test

Test #316

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t test-cargo-deny .
- name: Run list
run: docker run -v ${PWD}/test:/test test-cargo-deny "" "" --manifest-path test/Cargo.toml list
- name: Run check
run: docker run -v ${PWD}/test:/test test-cargo-deny 1.70.0 "" --manifest-path test/Cargo.toml --all-features check
# Ensures the action in the PR still works
test:
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@prep-release # change branch name to PR branch if you are changing it
# with:
# manifest-path: test/Cargo.toml