1
0
mirror of https://git.tukaani.org/xz.git synced 2026-10-31 19:34:55 +00:00

11 Commits

Author SHA1 Message Date
Lasse Collin
0def412006
CI: Don't pin vmactions or MSYS2 actions to commit ID
These workflows don't use any secrets other than GITHUB_TOKEN, which
only has the 'contents: read' permission. That is, if an action was
compromised, it shouldn't be able to modify the repository or steal any
secrets. I recognize that a compromised action isn't completely harmless
still. For example, the runners on GitHub have Internet access which the
action could abuse until the workflow timeout (currently 10 or 20 minutes)
expires.

Now we always use the most recent actions instead of ones that are
sometimes several months old. The hassle of updating the pinned
commit IDs goes away. The benefits feel bigger than the risks.

Link: https://github.com/tukaani-project/xz/pull/227
2026-06-21 20:53:49 +03:00
Lasse Collin
3c0dbed890
CI: Upgrade actions/checkout from v6 to v7 2026-06-21 20:53:49 +03:00
Lasse Collin
0fab61de63
CI: Run CI workflows on push to 'ci_run' in addition to 'master'
Make it convenient to run the CI workflows by pushing to a branch with
a specific name.
2026-06-21 20:53:49 +03:00
Lasse Collin
8e8c6598a5
CI: Remove the on 'pull_request:' entries
I don't run CI from PRs, so these just add noise to the "Actions" tab
in the GH UI.
2026-06-21 20:53:49 +03:00
Lasse Collin
88ae12f787
CI: Use 'contents: read' after all
If someone makes a private fork, then it will work there too.

Thanks-to: Eli Schwartz
2026-06-21 20:53:43 +03:00
Lasse Collin
3cdd412bce
CI: Update MSYS2
Closes: https://github.com/tukaani-project/xz/pull/213
2026-03-27 18:13:26 +02:00
Salman Muin Kayser Chishti
5d61c5a3cf
CI: Upgrade GitHub Actions for Node 24 compatibility
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
Closes: https://github.com/tukaani-project/xz/pull/212
2026-03-27 18:13:26 +02:00
Lasse Collin
d9b318f5b8
CI: Update MSYS2 2025-12-09 18:02:23 +02:00
Lasse Collin
dd4a1b2599
CI: Add timeout-minutes
Sometimes the VM workflows (like FreeBSD VM on Ubuntu) get stuck
and the default timeout is six hours. While at it, set a sensible
timeout for all workflows.
2025-05-23 13:09:14 +03:00
Lasse Collin
ffa9fadecc
CI: Revise MSYS2
Re-enable CLANG64 environment. Add CLANGARM64. Don't add MINGW64
to slightly reduce the number of runner VMs needed.

Install the required packages using the setup-msys2 action instead
of running the commands separately.

Test Autotools and CMake in the same job to reduce the number of VMs.
This doesn't slow it down too much because the msys2-setup step is
needed by both. However, do only the full builds on ARM64 because
those runners seem to be slower.

Test fewer build configurations. The point of testing on MSYS2 is to
catch Windows-related issues. It should be enough that the more unusual
build configurations are tested in ci.yml.

Run the build commands directly instead of using ci_build.bash. This
makes it easier to see what commands are run even if it is a little
more verbose now.

Run the workflow automatically when commit are pushed to master.
With the fewer build variants it's not too slow.
2025-04-22 19:00:19 +03:00
Lasse Collin
6f2aaa77da
CI: Rename the MSYS2 workflow file 2025-04-22 19:00:19 +03:00