Skip to content

Add actual testing of the changes in a PR #296

Add actual testing of the changes in a PR

Add actual testing of the changes in a PR #296

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@v1
# with:
# manifest-path: test/Cargo.toml