Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/cargo-build-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@
- 'spec.json'
name: cargo build (stable)
jobs:
cargobuild:

Check warning on line 22 in .github/workflows/cargo-build-stable.yml

View workflow job for this annotation

GitHub Actions / zizmor

excessive-permissions

cargo-build-stable.yml:22: overly broad permissions: default permissions used due to no permissions: block
name: cargo build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

Check warning on line 26 in .github/workflows/cargo-build-stable.yml

View workflow job for this annotation

GitHub Actions / zizmor

artipacked

cargo-build-stable.yml:26: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
- name: Install latest rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cargo-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@
pull_request:
name: cargo clippy
jobs:
cargoclippy:

Check warning on line 15 in .github/workflows/cargo-clippy.yml

View workflow job for this annotation

GitHub Actions / zizmor

excessive-permissions

cargo-clippy.yml:15: overly broad permissions: default permissions used due to no permissions: block
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

Check warning on line 19 in .github/workflows/cargo-clippy.yml

View workflow job for this annotation

GitHub Actions / zizmor

artipacked

cargo-clippy.yml:19: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
- name: Install latest rust
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

Check warning on line 26 in .github/workflows/cargo-test.yml

View workflow job for this annotation

GitHub Actions / zizmor

artipacked

cargo-test.yml:26: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
- name: Install latest rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
override: true
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate-website-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
generate-website-docs:

Check warning on line 14 in .github/workflows/generate-website-docs.yml

View workflow job for this annotation

GitHub Actions / zizmor

excessive-permissions

generate-website-docs.yml:14: overly broad permissions: default permissions used due to no permissions: block
if: ${{ github.actor != 'dependabot[bot]' }}
name: make-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

Check warning on line 19 in .github/workflows/generate-website-docs.yml

View workflow job for this annotation

GitHub Actions / zizmor

artipacked

generate-website-docs.yml:19: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
- name: Install latest rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5

Check failure on line 23 in .github/workflows/generate-website-docs.yml

View workflow job for this annotation

GitHub Actions / zizmor

cache-poisoning

generate-website-docs.yml:23: runtime artifacts potentially vulnerable to a cache poisoning attack: enables caching by default
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
uses: actions/cache@v5

Check failure on line 28 in .github/workflows/generate-website-docs.yml

View workflow job for this annotation

GitHub Actions / zizmor

cache-poisoning

generate-website-docs.yml:28: runtime artifacts potentially vulnerable to a cache poisoning attack: enables caching by default
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5

Check failure on line 33 in .github/workflows/generate-website-docs.yml

View workflow job for this annotation

GitHub Actions / zizmor

cache-poisoning

generate-website-docs.yml:33: runtime artifacts potentially vulnerable to a cache poisoning attack: enables caching by default
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -50,7 +50,7 @@
private-key: ${{ secrets.GH_ORG_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
# Checkout the docs repo since we will want to update the files there.
- uses: actions/checkout@v6

Check warning on line 53 in .github/workflows/generate-website-docs.yml

View workflow job for this annotation

GitHub Actions / zizmor

artipacked

generate-website-docs.yml:53: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
with:
repository: 'kittycad/documentation'
path: 'docs'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/make-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
name: make cross
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master

Check warning on line 26 in .github/workflows/make-cross.yml

View workflow job for this annotation

GitHub Actions / zizmor

artipacked

make-cross.yml:26: credential persistence through GitHub Actions artifacts: does not set persist-credentials: false
- name: Install latest nightly
uses: dtolnay/rust-toolchain@stable
- if: ${{ matrix.os == 'ubuntu-latest' }}
Expand All @@ -39,17 +39,17 @@
coreutils \
jq
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
tags:
- v*
permissions:
contents: write

Check failure on line 6 in .github/workflows/make-release.yml

View workflow job for this annotation

GitHub Actions / zizmor

excessive-permissions

make-release.yml:6: overly broad permissions: contents: write is overly broad at the workflow level
name: make-release
jobs:
makerelease:
Expand Down Expand Up @@ -39,17 +39,17 @@

cargo install toml-cli
- name: Cache cargo registry
uses: actions/cache@v4
uses: actions/cache@v5

Check failure on line 42 in .github/workflows/make-release.yml

View workflow job for this annotation

GitHub Actions / zizmor

cache-poisoning

make-release.yml:42: runtime artifacts potentially vulnerable to a cache poisoning attack: enables caching by default
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v4
uses: actions/cache@v5

Check failure on line 47 in .github/workflows/make-release.yml

View workflow job for this annotation

GitHub Actions / zizmor

cache-poisoning

make-release.yml:47: runtime artifacts potentially vulnerable to a cache poisoning attack: enables caching by default
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v4
uses: actions/cache@v5

Check failure on line 52 in .github/workflows/make-release.yml

View workflow job for this annotation

GitHub Actions / zizmor

cache-poisoning

make-release.yml:52: runtime artifacts potentially vulnerable to a cache poisoning attack: enables caching by default
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -65,7 +65,7 @@
export VERSION=v$(toml get Cargo.toml package.version | jq -r .)
mkdir -p releases/$(basename $(pwd))
cp -r cross releases/$(basename $(pwd))/${VERSION}
cp cross/README.md cross/${{matrix.os}}-${{github.ref_name}}-README.md

Check failure on line 68 in .github/workflows/make-release.yml

View workflow job for this annotation

GitHub Actions / zizmor

template-injection

make-release.yml:68: code injection via template expansion: may expand into attacker-controllable code
- name: 'upload binary files'
id: upload-files
uses: google-github-actions/upload-cloud-storage@v3.0.0
Expand Down Expand Up @@ -112,8 +112,8 @@
ls -la
echo 'These instructions are meant as an easy way to install. Note: you likely need to install `coreutils` in order to have the `sha256sum` command.' > release.md
echo "" >> release.md
cat macos-latest-${{github.ref_name}}-README.md \

Check failure on line 115 in .github/workflows/make-release.yml

View workflow job for this annotation

GitHub Actions / zizmor

template-injection

make-release.yml:115: code injection via template expansion: may expand into attacker-controllable code
ubuntu-latest-${{github.ref_name}}-README.md \

Check failure on line 116 in .github/workflows/make-release.yml

View workflow job for this annotation

GitHub Actions / zizmor

template-injection

make-release.yml:116: code injection via template expansion: may expand into attacker-controllable code
>> release.md
rm build/*-README.md
rm build/README.md
Expand Down
Loading