mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-10 06:14:13 +00:00
Actions upgrade for node 16 issues
This commit is contained in:
parent
e6e22e139f
commit
64ccfe3e52
2 changed files with 8 additions and 6 deletions
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
@ -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:
|
||||
|
@ -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
|
||||
|
|
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: stable
|
||||
|
@ -23,8 +23,10 @@ jobs:
|
|||
- name: Get random cache id
|
||||
run: echo "CACHE_ID=$((RANDOM))" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
- uses: pat-s/always-upload-cache@v3.0.11
|
||||
- name: Load rust cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
save-always: true
|
||||
path: results/*.yaml
|
||||
key: results-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('README.md') }}-${{ env.CACHE_ID }}
|
||||
restore-keys: |
|
||||
|
|
Loading…
Reference in a new issue