diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6dd0cd8e..3d454b45 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,7 @@ jobs: os: windows-latest name: Deploy ${{ matrix.target }} steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install Rust run: ci/install-rust.sh stable ${{ matrix.target }} - name: Build asset @@ -41,7 +41,7 @@ jobs: name: GitHub Pages runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install Rust (rustup) run: rustup update stable --no-self-update && rustup default stable - name: Build book @@ -58,7 +58,7 @@ jobs: name: Publish to crates.io runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Install Rust (rustup) run: rustup update stable --no-self-update && rustup default stable - name: Publish diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c2f622a5..a9b45702 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: target: x86_64-unknown-linux-gnu name: ${{ matrix.name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Rust run: bash ci/install-rust.sh ${{ matrix.rust }} ${{ matrix.target }} - name: Build and run tests @@ -55,7 +55,7 @@ jobs: aarch64-cross-builds: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Rust run: bash ci/install-rust.sh stable aarch64-unknown-linux-musl - name: Build @@ -65,7 +65,7 @@ jobs: name: Rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Rust run: rustup update stable && rustup default stable && rustup component add rustfmt - run: cargo fmt --check