chore(ci): use the stable version for checkout action

This commit is contained in:
Orhun Parmaksız 2023-05-14 13:48:39 +03:00
parent ab5e153a4e
commit 019d1556da
No known key found for this signature in database
GPG key ID: F83424824B3E4B90
3 changed files with 10 additions and 10 deletions

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Install Rust - name: Install Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:

View file

@ -14,7 +14,7 @@ jobs:
TARGET: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl] TARGET: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl]
steps: steps:
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Set the release version - name: Set the release version
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
- name: Install musl-tools - name: Install musl-tools
@ -60,7 +60,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Publish - name: Publish
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:

View file

@ -8,7 +8,7 @@ on:
branches: branches:
- master - master
schedule: schedule:
- cron: '0 0 * * 0' - cron: "0 0 * * 0"
jobs: jobs:
check: check:
@ -22,7 +22,7 @@ jobs:
profile: minimal profile: minimal
override: true override: true
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Check the project files - name: Check the project files
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -39,7 +39,7 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Setup cargo-tarpaulin - name: Setup cargo-tarpaulin
run: | run: |
curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \ curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \
@ -69,7 +69,7 @@ jobs:
profile: minimal profile: minimal
override: true override: true
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Build the project - name: Build the project
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -94,7 +94,7 @@ jobs:
components: clippy components: clippy
override: true override: true
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Check the lints - name: Check the lints
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -113,7 +113,7 @@ jobs:
components: rustfmt components: rustfmt
override: true override: true
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Check the formatting - name: Check the formatting
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
@ -125,7 +125,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout the repository - name: Checkout the repository
uses: actions/checkout@master uses: actions/checkout@v3
- name: Check the links - name: Check the links
uses: lycheeverse/lychee-action@v1 uses: lycheeverse/lychee-action@v1
with: with: