24 Commits

Author SHA1 Message Date
Arun 6b7c2e15f5 Quote envvar to match documentation 2024-02-26 17:57:21 +01:00
Arun dc188b02ea ci: Use GITHUB_OUTPUT envvar instead of set-output command 2024-02-26 17:57:21 +01:00
Jonathan Schwender bb45e8d0b7 Update dependencies and bump MSRV to 1.70 2024-02-26 17:16:12 +01:00
Jonathan Schwender db6ccdd863 Fix cargo semver-checks rust version
I forgot forcing stable rustc for semver-checks in commit 67fea1a.
On nightly Rust it is possible for the rustdoc version
to be newer than what cargo semver checks supports.
2023-09-04 19:37:56 +02:00
Jonathan Schwender e7613e5701 CI: Use Cython 3.0 2023-09-04 19:37:45 +02:00
Jonathan Schwender dd9a550152 Fix minimal Rust version in CI
The minimum rust version was bumped, so we need
to install the appropriate version in CI.
2023-08-25 16:47:30 +02:00
Jonathan Schwender 67fea1a1a2 Fix CI
Commit 667de09279
broke CI by adding rust-toolchain.toml, which changed
the default rust version to nightly.
Explicitly specify the rust version in CI to use the correct
toolchain.
2023-08-25 16:47:30 +02:00
Jonathan Schwender 1e2ffd4414 CI: Replace forbidden actions with cli code
the semver checks action and the release action are not
in the allow-list so replace them with their respective
cli counterparts.
These changes can only be tested by someone with permissions,
so the release part only releases a draft release for now.
2023-08-25 15:50:52 +02:00
Jonathan Schwender f61946b979 CI: Add semver checks to CI deploy job
This will fail creating a new github release, if the semver
action fails.
This would have caught #841.
2023-08-25 15:50:52 +02:00
Emilio Cobos Álvarez 0b43f0bc6c ci: Switch back to dtolnay/rust-toolchain action. 2023-06-07 17:39:59 +02:00
Emilio Cobos Álvarez ea6e886f7b ci: Try to fix github actions.
Fixes #836
2023-05-29 18:10:25 +02:00
Jonathan Schwender 3770faef73 CI: Fix warnings in Github actions
Fixes the following warning:

> Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions-rs/cargo@v1, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Steps:
- upgrade checkout to v3
- Replace the actions-rs/cargo action, by simply calling cargo from the commandline.
  I don't see why one would want to involve a node.js action there in the first place.
- Replace the actions-rs/toolchain with dtolnays version, which uses the shell instead
  of node.js
2023-03-10 13:42:09 +01:00
Jonathan Schwender 36ebe9a4a6 CI: Install toolchain in one step
Instead of two steps installing the toolchain, do it one step.
Removes the unmaintained action-rs/toolchain action.
Installs stable clippy instead of nightly clippy.
2023-03-08 16:59:28 +01:00
messense d4e508d6d1 Update MSRV to 1.54.0
Closes #740
2022-03-25 18:49:21 +01:00
Emilio Cobos Álvarez b9cfb34d29 Reintroduce clippy checks (#643) 2021-01-14 19:41:13 +01:00
Luni-4 428ae2c6c9 Add a comment to explain release notes code 2021-01-04 18:39:35 +01:00
Luni-4 5698270518 ci: reintroduce clippy checks 2021-01-04 17:31:46 +01:00
Luni-4 35afe47d0d Format release notes in a better way 2021-01-04 15:40:56 +01:00
Emilio Cobos Álvarez 30c642cac4 Test that cargo test in cargo package dir succeeds. 2020-12-26 18:45:35 +01:00
Vadim Petrochenkov 1b7976c88e ci: Check cargo test with minimim supported Rust version 2020-11-26 13:40:36 +01:00
Vadim Petrochenkov 51405d1277 Support generation of Cython bindings 2020-11-17 15:27:34 +01:00
Vadim Petrochenkov c943a99194 CI: Add a minimum version check 2020-10-14 10:12:50 +02:00
Emilio Cobos Álvarez fbdad17dc6 ci: Remove clippy check.
While useful sometimes, it doesn't have stability guarantees (so CI can
break when new rust stable versions are released), and it can do
suggestions that make us require newer rustc versions than needed, which
is not ideal.
2020-10-12 12:07:07 +02:00
Luni-4 6b56082be8 Replace travis with Github Actions 2020-09-07 00:24:10 +02:00