Skip to content

Commit

Permalink
chore: switch other tests to use git cache (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante authored Jul 4, 2024
1 parent de90610 commit bd58a1b
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ jobs:
test-rust:
name: Rust tests (marzano)
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [nscloud-ubuntu-22.04-amd64-8x32]
runs-on: ${{ matrix.os }}
runs-on: namespace-profile-standard-ubuntu22-amd64
permissions:
contents: "read"
id-token: "write"
Expand All @@ -25,10 +21,8 @@ jobs:
BUILD_PLATFORM: amd64
steps:
- name: clone code
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
uses: namespacelabs/nscloud-checkout-action@v2
- run: nsc git-checkout update-submodules --mirror_base_path=${NSC_GIT_MIRROR} --repository_path=${GITHUB_WORKSPACE} --recurse
- name: Install Protoc
run: sudo apt-get install -y protobuf-compiler
- name: install Rust
Expand Down Expand Up @@ -74,19 +68,14 @@ jobs:
test-rust-wasm:
name: Rust wasm
timeout-minutes: 15
strategy:
fail-fast: false
runs-on:
- nscloud-ubuntu-22.04-amd64-8x32
runs-on: namespace-profile-standard-ubuntu22-amd64
permissions:
contents: "read"
id-token: "write"
steps:
- name: clone code
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
uses: namespacelabs/nscloud-checkout-action@v2
- run: nsc git-checkout update-submodules --mirror_base_path=${NSC_GIT_MIRROR} --repository_path=${GITHUB_WORKSPACE} --recurse
- name: install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit bd58a1b

Please sign in to comment.