Skip to content

Commit

Permalink
Update GitHub Actions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Sep 6, 2023
1 parent fa2d48f commit 4751883
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Audit
run: cargo audit -D warnings
9 changes: 7 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,21 @@ jobs:
rustup toolchain install nightly --profile minimal
rustup default nightly
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Rustdoc
env:
RUSTDOCFLAGS: --crate-version main
run:
cargo doc --no-deps --document-private-items -Z rustdoc-map -Z rustdoc-scrape-examples
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Fix permissions
run: |
chmod -c -R +rX "target/doc" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: target/doc
- name: Deploy to GitHub Pages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
rustup toolchain install nightly --profile minimal --component rustfmt --allow-downgrade
rustup default nightly
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Rustfmt
run: cargo fmt --check

Expand All @@ -38,6 +38,6 @@ jobs:
- name: Install Taplo
run: cargo install taplo-cli
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Taplo
run: taplo fmt --check
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Rust
run: rustup toolchain install stable --profile minimal --component clippy
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Run Rustdoc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test Publish
run: cargo publish --dry-run
4 changes: 2 additions & 2 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install cargo-spellcheck
run: cargo install cargo-spellcheck
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Spellcheck
run: |
cargo spellcheck check -m 1
Expand All @@ -48,6 +48,6 @@ jobs:
- name: Install typos-cli
run: cargo install typos-cli
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Typos
run: typos
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Rust
run:
rustup toolchain install ${{ matrix.rust.version }} --profile minimal
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
run:
rustup toolchain install nightly --profile minimal
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
working-directory: minimal-versions
run: |
Expand Down

0 comments on commit 4751883

Please sign in to comment.