Fix Gitea Actions: downgrade checkout@v4 to checkout@v2 for Node.js compatibility
Some checks failed
CI/CD Pipeline / Code Format (push) Failing after 4s
CI/CD Pipeline / Clippy Lints (push) Failing after 1s
CI/CD Pipeline / Unit Tests (push) Failing after 3s
CI/CD Pipeline / Security Audit (push) Failing after 1s
CI/CD Pipeline / Build Debian Package (push) Failing after 3s
CI/CD Pipeline / Build RPM Package (push) Failing after 2s
CI/CD Pipeline / Build Alpine Package (push) Failing after 2s
CI/CD Pipeline / Build Arch Package (push) Failing after 2s
CI/CD Pipeline / Create Release (push) Has been skipped
Some checks failed
CI/CD Pipeline / Code Format (push) Failing after 4s
CI/CD Pipeline / Clippy Lints (push) Failing after 1s
CI/CD Pipeline / Unit Tests (push) Failing after 3s
CI/CD Pipeline / Security Audit (push) Failing after 1s
CI/CD Pipeline / Build Debian Package (push) Failing after 3s
CI/CD Pipeline / Build RPM Package (push) Failing after 2s
CI/CD Pipeline / Build Alpine Package (push) Failing after 2s
CI/CD Pipeline / Build Arch Package (push) Failing after 2s
CI/CD Pipeline / Create Release (push) Has been skipped
This commit is contained in:
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@ -16,7 +16,9 @@ jobs:
|
||||
name: Code Format
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt
|
||||
@ -27,7 +29,9 @@ jobs:
|
||||
name: Clippy Lints
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
@ -40,7 +44,9 @@ jobs:
|
||||
name: Unit Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Cache cargo
|
||||
uses: Swatinem/rust-cache@v2
|
||||
@ -54,7 +60,9 @@ jobs:
|
||||
name: Security Audit
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Run cargo-audit
|
||||
run: |
|
||||
@ -66,7 +74,9 @@ jobs:
|
||||
name: Build Debian Package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
@ -91,7 +101,9 @@ jobs:
|
||||
name: Build RPM Package
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Install RPM build tools
|
||||
run: |
|
||||
@ -118,7 +130,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container: alpine:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
apk add --no-cache rust cargo musl-dev openssl-dev systemd-dev git
|
||||
@ -163,7 +177,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container: archlinux:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
pacman -Syu --noconfirm rust cargo systemd git base-devel
|
||||
|
||||
Reference in New Issue
Block a user