cargo-semver-checks/.github/workflows
Magnus Markling e0ec8d834f
Use checkout v4 (#80)
* update to actions/checkout@v4 in workflows

* update to actions/checkout@v4 in examples
2024-07-02 12:50:12 -04:00
..
setup-test-workspace Use checkout v4 (#80) 2024-07-02 12:50:12 -04:00
ci.yml Ensure that failing tests prevent PRs from being merged. (#50) 2023-06-06 14:59:32 -04:00
README.md Add test for baseline caching (#33) 2023-04-07 10:54:46 -04:00
test-action.yml Bump actions/checkout from 3 to 4 (#73) 2024-03-19 14:30:33 -04:00
test-build.yml Update dependency and Node versions. (#68) 2024-03-19 18:32:54 +00:00
test-cache.yml Bump actions/checkout from 3 to 4 (#73) 2024-03-19 14:30:33 -04:00
test-inputs.yml Update cache keys in test-inputs.yml (#79) 2024-07-02 14:47:48 +00:00

The testing workflow is divided into several parts:

  • test-action.yml, which contains simple, general integration tests of the action that should be run on each platform

and the following ones run on ubuntu-latest:

  • test-build.yml containing source-related checks: linters, formatters and verifying whether the sources match dist/ directory,
  • test-inputs.yml containing specific integration tests checking whether the action inputs are processed properly,
  • test-cache.yml focusing on veryfing whether the baseline rustdoc is cached correctly.

setup-test-workspace is a helper action that creates a workspace containing two crates: the test fork of ref_slice and a dummy crate that has no matching baseline version on crates.io.