Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
type: boolean
default: false

permissions: read-all

Check warning on line 43 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

ci.yml:43: overly broad permissions: uses read-all permissions

concurrency:
cancel-in-progress: true
Expand Down Expand Up @@ -90,7 +90,7 @@
CIBW_PRERELEASE_PYTHONS: 1
CIBW_BUILD_VERBOSITY: ${{inputs.debug && 1 || ''}}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
cache: pip
Expand All @@ -108,7 +108,7 @@
build_sdist:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
cache: pip
Expand All @@ -125,15 +125,15 @@
run_main:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: cmake .
- run: make chromobius -j
- run: out/chromobius --help
build_bazel:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # v1

Check warning on line 136 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

ci.yml:136: action's hash pin has mismatched or missing version comment: points to unknown ref
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand All @@ -144,7 +144,7 @@
build_clang:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: sudo apt-get update && sudo apt-get install --no-install-recommends -y clang
- run: |
cd ..
Expand All @@ -159,14 +159,14 @@
perf:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: cmake .
- run: make chromobius_perf -j
- run: out/chromobius_perf
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: |
cd ..
git -c advice.detachedHead=false clone https://github.com/google/googletest.git -b release-1.12.1
Expand All @@ -180,7 +180,7 @@
test_o3:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: |
cd ..
git -c advice.detachedHead=false clone https://github.com/google/googletest.git -b release-1.12.1
Expand All @@ -194,12 +194,12 @@
test_generated_docs_are_fresh:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
cache: pip
python-version: '3.11'
- uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # v1

Check warning on line 202 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

ci.yml:202: action's hash pin has mismatched or missing version comment: points to unknown ref
with:
disk-cache: ${{ github.workflow }}
repository-cache: true
Expand All @@ -212,7 +212,7 @@
test_generated_file_lists_are_fresh:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: tools/regen_file_lists.sh /tmp
- run: diff /tmp/perf_files file_lists/perf_files
- run: diff /tmp/pybind_files file_lists/pybind_files
Expand All @@ -221,12 +221,12 @@
test_pybind:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
cache: pip
python-version: '3.11'
- uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # v1

Check warning on line 229 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

ci.yml:229: action's hash pin has mismatched or missing version comment: points to unknown ref
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
Expand Down Expand Up @@ -260,7 +260,7 @@
testpypi_endpoint_url: https://test.pypi.org/legacy/
testpypi_index_url: https://test.pypi.org/simple
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
sparse-checkout: setup.py
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
Expand All @@ -273,7 +273,7 @@
# For efficiency, test just one wheel for each platform.
pattern: '*cp311*'
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1

Check warning on line 276 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

ci.yml:276: action's hash pin has mismatched or missing version comment: points to unknown ref
with:
repository-url: ${{env.testpypi_endpoint_url}}
packages-dir: dist-chromobius/
Expand Down Expand Up @@ -314,7 +314,7 @@
pattern: dist-chromobius-*
merge-multiple: true
- run: pwd && ls -lR dist-chromobius
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1

Check warning on line 317 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

ci.yml:317: action's hash pin has mismatched or missing version comment: points to unknown ref
with:
packages-dir: dist-chromobius/
verify-metadata: ${{inputs.debug}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
group: ${{github.workflow}}-${{github.event.pull_request.number||github.ref}}

# Declare default workflow permissions as read only.
permissions: read-all

Check warning on line 42 in .github/workflows/scorecard-scanner.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

scorecard-scanner.yaml:42: overly broad permissions: uses read-all permissions

jobs:
run-scorecard:
Expand All @@ -52,7 +52,7 @@
timeout-minutes: 15
steps:
- name: Check out a copy of the git repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

Expand Down
Loading