Skip to content

Commit 5004d17

Browse files
hyperpolymathhypatia-autofix
andcommitted
chore: hypatia auto-fix (10 formulaic fixes)
Applied by auto-fix-formulaic.sh: - SHA-pinned unpinned GitHub Actions - Added missing workflow permissions - Fixed license headers Co-Authored-By: hypatia-autofix <noreply@hyperpolymath.github.io>
1 parent f25ee16 commit 5004d17

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/jekyll-gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3232
- name: Setup Pages
33-
uses: actions/configure-pages@v5
33+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
3434
- name: Build with Jekyll
35-
uses: actions/jekyll-build-pages@v1
35+
uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1
3636
with:
3737
source: ./
3838
destination: ./_site
3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v3
40+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
4141

4242
# Deployment job
4343
deploy:
@@ -49,4 +49,4 @@ jobs:
4949
steps:
5050
- name: Deploy to GitHub Pages
5151
id: deployment
52-
uses: actions/deploy-pages@v4
52+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

.github/workflows/rust-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
permissions: read-all
3+
24
name: Rust CI
35
on: [push, pull_request]
46
env:
@@ -9,11 +11,11 @@ jobs:
911
test:
1012
runs-on: ubuntu-latest
1113
steps:
12-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1315
- uses: dtolnay/rust-toolchain@stable
1416
with:
1517
components: rustfmt, clippy
16-
- uses: Swatinem/rust-cache@v2
18+
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
1719

1820
- name: Check formatting
1921
run: cargo fmt --all -- --check
@@ -30,7 +32,7 @@ jobs:
3032
security:
3133
runs-on: ubuntu-latest
3234
steps:
33-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3436
- uses: dtolnay/rust-toolchain@stable
3537
- name: Install cargo-audit
3638
run: cargo install cargo-audit
@@ -42,7 +44,7 @@ jobs:
4244
coverage:
4345
runs-on: ubuntu-latest
4446
steps:
45-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4648
- uses: dtolnay/rust-toolchain@stable
4749
- name: Install tarpaulin
4850
run: cargo install cargo-tarpaulin

0 commit comments

Comments
 (0)