Skip to content

Commit f3ffbcd

Browse files
authored
Ratchet (#206)
* Ratchet all the workflow files ratchet pin ./.github/dependabot.yml .github/workflows/* ratchet update ./.github/dependabot.yml .github/workflows/* * Remove stray tabs Tabs caught by ratchet streaming in and out.
1 parent 95759c1 commit f3ffbcd

6 files changed

Lines changed: 36 additions & 35 deletions

File tree

.github/dependabot.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Please see the documentation for all configuration options:
44
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
55

6-
---
76
version: 2
87
updates:
98
- package-ecosystem: "github-actions"
@@ -21,13 +20,13 @@ updates:
2120
- "github/*"
2221
schedule:
2322
interval: "weekly"
24-
2523
- package-ecosystem: pip
24+
2625
directory: /papers/P2988
2726
schedule:
2827
interval: daily
29-
3028
- package-ecosystem: pip
29+
3130
directory: /
3231
schedule:
3332
interval: daily

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ permissions:
1515
jobs:
1616
build:
1717
permissions:
18-
checks: write # for coverallsapp/github-action to create new checks
19-
contents: read # for actions/checkout to fetch code
18+
checks: write # for coverallsapp/github-action to create new checks
19+
contents: read # for actions/checkout to fetch code
2020
name: ${{ matrix.config.name }}
2121
runs-on: ubuntu-24.04
2222
container:
@@ -25,15 +25,15 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
config:
28-
- {name: "Ubuntu Clang 21", tag: "clang:21", toolchain: "clang-21", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
29-
- {name: "Ubuntu Clang 20", tag: "clang:20", toolchain: "clang-20", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
28+
- {name: "Ubuntu Clang 21", tag: "clang:21", toolchain: "clang-21", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
29+
- {name: "Ubuntu Clang 20", tag: "clang:20", toolchain: "clang-20", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
3030
# Note: clang-19 + Asan setup causes errors on some platforms. Temporary skip some checks via .asan_options.
31-
- {name: "Ubuntu Clang 19", tag: "clang:19", toolchain: "clang-19", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" ", asan_options: "new_delete_type_mismatch=0"}
32-
- {name: "Ubuntu Clang 18", tag: "clang:18", toolchain: "clang-18", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
33-
- {name: "Ubuntu Clang 17", tag: "clang:17", toolchain: "clang-17", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
34-
- {name: "Ubuntu GCC 14", tag: "gcc:14", toolchain: "gcc-14", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan;Gcov\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" ", coverage: true}
35-
- {name: "Ubuntu GCC 13", tag: "gcc:13", toolchain: "gcc-13", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
36-
- {name: "Ubuntu GCC 12", tag: "gcc:12", toolchain: "gcc-12", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
31+
- {name: "Ubuntu Clang 19", tag: "clang:19", toolchain: "clang-19", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" ", asan_options: "new_delete_type_mismatch=0"}
32+
- {name: "Ubuntu Clang 18", tag: "clang:18", toolchain: "clang-18", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
33+
- {name: "Ubuntu Clang 17", tag: "clang:17", toolchain: "clang-17", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
34+
- {name: "Ubuntu GCC 14", tag: "gcc:14", toolchain: "gcc-14", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan;Gcov\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" ", coverage: true}
35+
- {name: "Ubuntu GCC 13", tag: "gcc:13", toolchain: "gcc-13", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
36+
- {name: "Ubuntu GCC 12", tag: "gcc:12", toolchain: "gcc-12", cmake_args: "-G \"Ninja Multi-Config\" -DCMAKE_CONFIGURATION_TYPES=\"RelWithDebInfo;Asan\" -DCMAKE_PREFIX_PATH=\"./infra/cmake\" "}
3737
steps:
3838
- name: Harden the runner (Audit all outbound calls)
3939
uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4444
with:
4545
submodules: 'true'
46-
# If Clang 17, install a newer version of libc++ and libc++abi.
46+
# If Clang 17, install a newer version of libc++ and libc++abi.
4747
- name: Update packages
4848
run: |
4949
set -x

.github/workflows/codeql.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
include:
5050
- language: actions
5151
build-mode: none
52-
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
53-
# Use `c-cpp` to analyze code written in C, C++ or both
54-
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
55-
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
56-
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
57-
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
58-
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
59-
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
52+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
53+
# Use `c-cpp` to analyze code written in C, C++ or both
54+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
55+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
56+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
57+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
58+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
59+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
6060
steps:
6161
- name: Harden the runner (Audit all outbound calls)
6262
uses: step-security/harden-runner@6c3c2f2c1c457b00c10c4848d6f5491db3b629df # v2.18.0
@@ -85,26 +85,28 @@ jobs:
8585
# By default, queries listed here will override any specified in a config file.
8686
# Prefix the list here with "+" to use these queries and those in the config file.
8787

88-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
89-
# queries: security-extended,security-and-quality
90-
9188
# If the analyze step fails for one of the languages you are analyzing with
9289
# "We were unable to automatically build your code", modify the matrix above
90+
9391
# to set the build mode to "manual" for that language. Then modify this step
9492
# to build your code.
9593
# ℹ️ Command-line programs to run using the OS shell.
9694
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
9795
- if: matrix.build-mode == 'manual'
96+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
97+
# queries: security-extended,security-and-quality
98+
9899
shell: bash
99100
run: |
100101
echo 'If you are using a "manual" build mode for one or more of the' \
101102
'languages you are analyzing, replace this with the commands to build' \
102103
'your code, for example:'
103104
echo ' make bootstrap'
104105
echo ' make release'
105-
exit 1
106106
107+
exit 1
107108
- name: Perform CodeQL Analysis
108109
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
109110
with:
111+
110112
category: "/language:${{matrix.language}}"

.github/workflows/ossf-scorecard-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ on:
33
push:
44
# Only the default branch is supported.
55
branches:
6-
- main
6+
- main
77
schedule:
88
# Weekly on Saturdays.
9-
- cron: '30 1 * * 6'
9+
- cron: '30 1 * * 6'
1010

1111
permissions: read-all
1212

.github/workflows/pre-commit-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
checks: write
1616
issues: write
1717
pull-requests: write
18-
uses: bemanproject/infra-workflows/.github/workflows/reusable-beman-pre-commit.yml@1.5.1
18+
uses: bemanproject/infra-workflows/.github/workflows/reusable-beman-pre-commit.yml@4dff6993ff88c5f946e371f5cdbeca8340fdb49d # ratchet:bemanproject/infra-workflows/.github/workflows/reusable-beman-pre-commit.yml@1.5.1

.github/workflows/pre-commit.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
with:
3232
python-version: 3.13
3333

34-
# We wish to run pre-commit on all files instead of the changes
35-
# only made in the push commit.
36-
#
37-
# So linting error persists when there's formatting problem.
34+
# We wish to run pre-commit on all files instead of the changes
35+
# only made in the push commit.
36+
#
37+
# So linting error persists when there's formatting problem.
3838
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3939

4040
pre-commit-pr:
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
python-version: 3.13
7171

72-
# we only lint on the changed file in PR.
72+
# we only lint on the changed file in PR.
7373
- name: Get Changed Files
7474
id: changed-files
7575
uses: step-security/changed-files@2e07db73e5ccdb319b9a6c7766bd46d39d304bad # v47.0.5
@@ -79,7 +79,7 @@ jobs:
7979
with:
8080
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}
8181

82-
# Review dog posts the suggested change from pre-commit to the pr.
82+
# Review dog posts the suggested change from pre-commit to the pr.
8383
- name: suggester / pre-commit
8484
uses: reviewdog/action-suggester@aa38384ceb608d00f84b4690cacc83a5aba307ff #v1.24.0
8585
if: ${{ failure() && steps.run-pre-commit.conclusion == 'failure' }}

0 commit comments

Comments
 (0)