1
0
mirror of https://git.tukaani.org/xz.git synced 2026-10-31 03:14:56 +00:00

16 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
e38a4af340
CI: Update Solaris
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
a7b749389c
CI: Update Solaris 2025-12-09 17:58:52 +02:00
Lasse Collin
71c2ede383
CI: Update Solaris 2025-10-31 14:44:24 +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
07dc509137
CI: Update Solaris 2025-04-17 20:38:20 +03:00
Sam James
dbca3d078e CI: update FreeBSD, NetBSD, OpenBSD, Solaris actions
Checked the changes and they're all innocuous. This should hopefully
fix the "externally managed" pip error in these jobs that started
recently.
2024-10-02 10:10:54 +03:00
Lasse Collin
a61c9ab475 CI: Don't require po4a on Solaris 2024-06-03 23:05:31 +03:00
Lasse Collin
5229bdf533 CI: Use set -e on Solaris too 2024-06-03 23:04:32 +03:00
Sam James
35f8649f08 ci: don't pin official GH actions via commit, just tag
There's no real value in doing it via commit for official GH actions. We
can keep using pinned commits for unofficial actions. It's hassle for no
gain.

Maybe going forward we can limit this further by only being paranoid
for the jobs with any access to tokens.
2024-06-03 12:32:34 +03:00
Sam James
08cdf4be9a ci: add Solaris
Inspired by 3f2a38b011.

It runs on Solaris 5.11 via a VirtualBox VM.
2024-06-03 12:32:34 +03:00