Skip to content

Commit

Permalink
Merge pull request #1684 from palfrey/upgrade-actions
Browse files Browse the repository at this point in the history
Actions upgrade for node 16 issues
  • Loading branch information
palfrey authored Mar 17, 2024
2 parents 031c315 + 420580d commit 9311e9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Lint Markdown content
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Markdown lint for README
uses: docker://avtodev/markdown-lint:v1
with:
Expand All @@ -25,16 +25,16 @@ jobs:
name: Lint for editorconfig violations
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check for editorconfig violations
uses: editorconfig-checker/action-editorconfig-checker@v1
uses: editorconfig-checker/action-editorconfig-checker@v2

lint-markdown-toc:
runs-on: ubuntu-latest
name: Lint for Table of Contents
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Get random cache id
run: echo "CACHE_ID=$((RANDOM))" >> $GITHUB_ENV
shell: bash
- uses: pat-s/[email protected]
- name: Load results cache
uses: pat-s/[email protected]
with:
path: results/*.yaml
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ env.CACHE_ID }}
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ github.run_id }}
restore-keys: |
results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-
results-${{ hashFiles('Cargo.lock') }}-
Expand Down

0 comments on commit 9311e9f

Please sign in to comment.