mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2025-03-03 14:32:38 +02:00
Upgrade actions
This commit is contained in:
parent
4b34fdcb70
commit
ffdb3828c7
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
name: Lint Markdown content
|
name: Lint Markdown content
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Markdown lint for README
|
- name: Markdown lint for README
|
||||||
uses: docker://avtodev/markdown-lint:v1
|
uses: docker://avtodev/markdown-lint:v1
|
||||||
with:
|
with:
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
name: Lint for editorconfig violations
|
name: Lint for editorconfig violations
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Check for editorconfig violations
|
- name: Check for editorconfig violations
|
||||||
uses: editorconfig-checker/action-editorconfig-checker@v1
|
uses: editorconfig-checker/action-editorconfig-checker@v1
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
name: Lint for Table of Contents
|
name: Lint for Table of Contents
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@ -14,14 +14,12 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
override: true
|
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- uses: Swatinem/rust-cache@v1
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Get random cache id
|
- name: Get random cache id
|
||||||
run: echo "CACHE_ID=$((RANDOM))" >> $GITHUB_ENV
|
run: echo "CACHE_ID=$((RANDOM))" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user