4108 Commits
Author SHA1 Message Date
Oliver Hamlet cfda074b2e Grant contents write permission to release jobs
Since I restricted the default GitHub Actions token to read-only permissions, this permission needs to be explicitly granted to allow the creation of a release and the upload of release assets.
0.28.2
2025-10-03 19:47:59 +01:00
Oliver Hamlet f4a0917294 Update version and changelog for v0.28.2 2025-10-03 19:23:48 +01:00
Oliver Hamlet 961642ad6e Avoid setting CMAKE_* variables globally
Instead set their target-specific equivalents.

The POSITION_INDEPENDENT_CODE property isn't set because it already defaults to ON for shared libraries.
2025-10-03 17:41:33 +01:00
Oliver Hamlet 24e3f99d9e Don't treat compiler warnings as errors by default
So that new warnings don't cause issues for library consumers.

Instead use CMake's CMAKE_COMPILE_WARNING_AS_ERROR option to treat them as errors in CI.
2025-10-03 17:39:11 +01:00
Oliver HamletandGitHub 6c951c648d Merge pull request #154 from loot/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-10-02 08:03:50 +01:00
Oliver HamletandGitHub ce909cca1c Merge pull request #155 from loot/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-10-02 08:03:34 +01:00
dependabot[bot]andGitHub a36be2a63e Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 19:53:46 +00:00
dependabot[bot]andGitHub 493b0ef099 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 19:53:43 +00:00
Oliver Hamlet d9179544c9 Verify the hash of downloaded Doxygen in CI 2025-10-01 20:31:07 +01:00
Oliver Hamlet d859edc2ba Use Dependabot to keep Actions up to date 2025-10-01 20:11:33 +01:00
Oliver Hamlet 14410e5908 Pin third-party Action versions
The versions that are installed have not changed: the hashes correspond to the current values of the version tags that were previously used.
2025-10-01 20:08:50 +01:00
Oliver Hamlet dba3ba6902 Install cargo-vet using a Git commit hash
The hash doubles as a checksum of the code that's downloaded and built. Installing from crates.io doesn't provide equivalent functionality.
2025-10-01 20:06:00 +01:00
Oliver Hamlet f2b27e629f Pass ---locked to cargo install 2025-10-01 19:57:54 +01:00
Oliver Hamlet b9a91374f9 Suppress MSVC's C4711 warning
It's raised from CXX's generated code and is just informational.
2025-09-30 21:24:42 +01:00
Oliver Hamlet bc89403134 Reapply "Support plugin and archive symlinks"
This reverts commit da0e35bb2b.

The minimum version of libloadorder has been increased because 18.5.0
included some changes to support symlinked plugins, without which
symlink support is incomplete.
2025-09-30 19:01:08 +01:00
Oliver Hamlet 36fc177e76 Update errno, rustix, tempfile, winapi-util
To remove second version of windows-sys from dependency tree.
2025-09-29 21:25:11 +01:00
Oliver Hamlet 04ee0a431c Import audits from esplugin 2025-09-29 21:25:11 +01:00
Oliver Hamlet ebd04a39ff Update windows-result to remove duplicate windows-link dependency 2025-09-29 21:25:11 +01:00
Oliver Hamlet face608fae Update libloadorder to v18.5.1 2025-09-29 21:25:11 +01:00
Oliver Hamlet e502a37aa9 Update loot-condition-interpreter to v5.3.3 2025-09-29 21:25:11 +01:00
Oliver Hamlet 3724cc8d1f Update esplugin to v6.1.4 2025-09-29 21:25:10 +01:00
Oliver Hamlet 08a0487880 Be more permissive with dependency versions
The tests all pass when using the bottom of the new version ranges on Windows.

The unicase dependency's lower bound is limited by rust-ini even after using the latest master branch versions of esplugin, libloadorder and loot-condition-interpreter.

The proc-macro2 and quote dependencies' lower bounds are limited by pyo3's dependency tree.

The nodejs wrapper's dependencies haven't been touched.
2025-09-29 21:25:10 +01:00
Oliver Hamlet fc8ab80552 Add a CI job to run cargo vet 2025-09-29 21:25:10 +01:00
Oliver Hamlet 1519a49ce9 Suppress audit suggestions for crates not used on target platforms
I only test libloot for x86 Windows, x86-64 Windows and x86-64 Linux in CI.

Ideally there would be a way to tell cargo-vet to ignore dependencies
that aren't relevant to a given set of targets, as having them exempt
like this could hide the need to audit them if they do become relevant
to those targets in the future, but without the supression `cargo vet
suggest`'s output is just too noisy.
2025-09-29 21:25:10 +01:00
Oliver Hamlet 4312fe166d Don't audit libloot or array-parameterized-test 2025-09-29 21:25:10 +01:00