mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2025-01-31 04:52:37 -05:00
chore(ci): use the stable version for checkout action
This commit is contained in:
parent
ab5e153a4e
commit
019d1556da
3 changed files with 10 additions and 10 deletions
2
.github/workflows/audit.yml
vendored
2
.github/workflows/audit.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
TARGET: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl]
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Set the release version
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
|
||||
- name: Install musl-tools
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Publish
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
|||
branches:
|
||||
- master
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
- cron: "0 0 * * 0"
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
@ -22,7 +22,7 @@ jobs:
|
|||
profile: minimal
|
||||
override: true
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Check the project files
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
@ -39,7 +39,7 @@ jobs:
|
|||
toolchain: stable
|
||||
override: true
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup cargo-tarpaulin
|
||||
run: |
|
||||
curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \
|
||||
|
@ -69,7 +69,7 @@ jobs:
|
|||
profile: minimal
|
||||
override: true
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Build the project
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
@ -94,7 +94,7 @@ jobs:
|
|||
components: clippy
|
||||
override: true
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Check the lints
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
@ -113,7 +113,7 @@ jobs:
|
|||
components: rustfmt
|
||||
override: true
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Check the formatting
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
- name: Check the links
|
||||
uses: lycheeverse/lychee-action@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue