mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-27 21:45:16 +01:00
CI: one pin of each GitHub Action in all workflows, Dependabot updates for them (#331)
* ci: one pin of actions/checkout and actions/download-artifact in all workflows build.yml moves from actions/checkout v5.1.0 to the v6.1.0 pin build_bin.yml already uses, and the two unpinned actions/download-artifact@v4 in the publish job of build_bin.yml get the v4.3.0 hash sonar.yml already uses (the commit the v4 tag points at today, so nothing changes at run time). * ci: Dependabot updates for the GitHub Actions One grouped pull request a week for all actions, so the hash pins and their version comments move together in every workflow.
This commit is contained in:
13
.github/dependabot.yml
vendored
Normal file
13
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Keeps the GitHub Actions used by the workflows up to date. The actions are pinned by commit hash, with the
|
||||
# version in a comment; Dependabot updates both. One pull request a week for all of them, so the workflows
|
||||
# stay on the same versions.
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
groups:
|
||||
github-actions:
|
||||
patterns:
|
||||
- "*"
|
||||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
env:
|
||||
BUILD_WRAPPER_OUT_DIR: bw-output
|
||||
steps:
|
||||
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
|
||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
|
||||
8
.github/workflows/build_bin.yml
vendored
8
.github/workflows/build_bin.yml
vendored
@@ -583,25 +583,25 @@ jobs:
|
||||
steps:
|
||||
# the AVX2 build keeps the old name of the download, so the links already handed out still work
|
||||
- name: Download Windows build (AVX2)
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: maszyna-windows-x64-avx2-${{ env.CONFIG_WIN }}
|
||||
path: dist/maszyna-windows-x64
|
||||
|
||||
- name: Download Windows build (no AVX2)
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: maszyna-windows-x64-noavx2-${{ env.CONFIG_WIN }}
|
||||
path: dist/maszyna-windows-x64-noavx2
|
||||
|
||||
- name: Download Linux build (AVX2)
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: maszyna-linux-x64-avx2-${{ env.CONFIG_LINUX }}
|
||||
path: dist/maszyna-linux-x64
|
||||
|
||||
- name: Download Linux build (no AVX2)
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: maszyna-linux-x64-noavx2-${{ env.CONFIG_LINUX }}
|
||||
path: dist/maszyna-linux-x64-noavx2
|
||||
|
||||
Reference in New Issue
Block a user