Bump actions/checkout from 3 to 4 (#935)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to
4.
- [Release notes](https://github.com/actions/checkout/releases)
-
[Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)
This commit is contained in:
Syuugo Mizoguchi
2023-09-07 22:24:01 +09:00
committed by GitHub
parent da662133ae
commit 40fc6d2163
15 changed files with 20 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ jobs:
env: env:
ISSUE_CONTENT: ${{ github.event.issue.body }} ISSUE_CONTENT: ${{ github.event.issue.body }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Parse issue body - name: Parse issue body
id: handle-add-device id: handle-add-device
run: | run: |

View File

@@ -67,7 +67,7 @@ jobs:
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
path: KernelSU path: KernelSU
fetch-depth: 0 fetch-depth: 0

View File

@@ -81,7 +81,7 @@ jobs:
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
path: KernelSU path: KernelSU
fetch-depth: 0 fetch-depth: 0

View File

@@ -59,7 +59,7 @@ jobs:
sudo ln -s --force /usr/bin/clang++-$LLVM_VERSION /usr/bin/clang++ sudo ln -s --force /usr/bin/clang++-$LLVM_VERSION /usr/bin/clang++
- name: Checkout KernelSU - name: Checkout KernelSU
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: KernelSU path: KernelSU
fetch-depth: 0 fetch-depth: 0

View File

@@ -72,7 +72,7 @@ jobs:
sudo ln -s --force /usr/bin/clang++-$LLVM_VERSION /usr/bin/clang++ sudo ln -s --force /usr/bin/clang++-$LLVM_VERSION /usr/bin/clang++
- name: Checkout KernelSU - name: Checkout KernelSU
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: KernelSU path: KernelSU
fetch-depth: 0 fetch-depth: 0

View File

@@ -2,13 +2,13 @@ name: Build KSUD
on: on:
push: push:
branches: [ "main", "ci" ] branches: [ "main", "ci" ]
paths: paths:
- '.github/workflows/build-ksud.yml' - '.github/workflows/build-ksud.yml'
- '.github/workflows/ksud.yml' - '.github/workflows/ksud.yml'
- 'userspace/ksud/**' - 'userspace/ksud/**'
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
paths: paths:
- '.github/workflows/build-ksud.yml' - '.github/workflows/build-ksud.yml'
- '.github/workflows/ksud.yml' - '.github/workflows/ksud.yml'
- 'userspace/ksud/**' - 'userspace/ksud/**'

View File

@@ -33,7 +33,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0

View File

@@ -2,20 +2,20 @@ name: Build SU
on: on:
push: push:
branches: [ "main" ] branches: [ "main" ]
paths: paths:
- '.github/workflows/build-su.yml' - '.github/workflows/build-su.yml'
- 'userspace/su/**' - 'userspace/su/**'
- 'scripts/ksubot.py' - 'scripts/ksubot.py'
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
paths: paths:
- 'userspace/su/**' - 'userspace/su/**'
jobs: jobs:
build-su: build-su:
name: Build userspace su name: Build userspace su
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup need_upload - name: Setup need_upload

View File

@@ -21,7 +21,7 @@ jobs:
clippy: clippy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
# cross build failed after Rust 1.68, see https://github.com/cross-rs/cross/issues/1222 # cross build failed after Rust 1.68, see https://github.com/cross-rs/cross/issues/1222
- run: rustup default 1.67.0 - run: rustup default 1.67.0
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2

View File

@@ -16,7 +16,7 @@ jobs:
run: run:
working-directory: ./website working-directory: ./website
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3

View File

@@ -80,7 +80,7 @@ jobs:
remove-haskell: 'true' remove-haskell: 'true'
remove-codeql: 'true' remove-codeql: 'true'
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
path: KernelSU path: KernelSU
fetch-depth: 0 fetch-depth: 0

View File

@@ -13,7 +13,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
# cross build failed after Rust 1.68, see https://github.com/cross-rs/cross/issues/1222 # cross build failed after Rust 1.68, see https://github.com/cross-rs/cross/issues/1222

View File

@@ -18,7 +18,7 @@ jobs:
build-arcvm-kernel: build-arcvm-kernel:
uses: ./.github/workflows/build-kernel-arcvm.yml uses: ./.github/workflows/build-kernel-arcvm.yml
release: release:
needs: needs:
- build-manager - build-manager
- build-a12-kernel - build-a12-kernel
- build-a13-kernel - build-a13-kernel
@@ -66,4 +66,4 @@ jobs:
AnyKernel3-*.zip AnyKernel3-*.zip
boot-images-*/Image-*/*.img.gz boot-images-*/Image-*/*.img.gz
kernel-WSA*.zip kernel-WSA*.zip
kernel-ARCVM*.zip kernel-ARCVM*.zip

View File

@@ -21,7 +21,7 @@ jobs:
format: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly - uses: dtolnay/rust-toolchain@nightly
with: with:
@@ -30,4 +30,4 @@ jobs:
- uses: LoliGothick/rustfmt-check@master - uses: LoliGothick/rustfmt-check@master
with: with:
token: ${{ github.token }} token: ${{ github.token }}
working-directory: userspace/ksud working-directory: userspace/ksud

View File

@@ -18,7 +18,7 @@ jobs:
shellcheck: shellcheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run ShellCheck - name: Run ShellCheck
uses: ludeeus/action-shellcheck@2.0.0 uses: ludeeus/action-shellcheck@2.0.0