ci: switch to gitea.com action mirrors to bypass github.com network block #27
@@ -35,12 +35,10 @@ jobs:
|
|||||||
name: Build + Clippy + Test
|
name: Build + Clippy + Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust toolchain (stable)
|
- name: Install Rust toolchain (stable)
|
||||||
uses: dtolnay/rust-toolchain@stable
|
run: rustup toolchain install stable --profile minimal --component clippy && rustup default stable
|
||||||
with:
|
|
||||||
components: clippy
|
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -81,7 +79,7 @@ jobs:
|
|||||||
echo "LIBCLANG_PATH=$LIBDIR" >> "$GITHUB_ENV"
|
echo "LIBCLANG_PATH=$LIBDIR" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Cache cargo registry + build artifacts
|
- name: Cache cargo registry + build artifacts
|
||||||
uses: actions/cache@v4
|
uses: https://gitea.com/actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry
|
~/.cargo/registry
|
||||||
@@ -106,10 +104,10 @@ jobs:
|
|||||||
# Keep separate from build-test so a vulnerability advisory fails the
|
# Keep separate from build-test so a vulnerability advisory fails the
|
||||||
# check independently of compile state.
|
# check independently of compile state.
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust toolchain (stable)
|
- name: Install Rust toolchain (stable)
|
||||||
uses: dtolnay/rust-toolchain@stable
|
run: rustup toolchain install stable --profile minimal && rustup default stable
|
||||||
|
|
||||||
- name: Install cargo-audit
|
- name: Install cargo-audit
|
||||||
run: cargo install cargo-audit --locked
|
run: cargo install cargo-audit --locked
|
||||||
|
|||||||
Reference in New Issue
Block a user