Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/actions/docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ inputs:
runs:
using: composite
steps:
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.3

- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
Expand Down Expand Up @@ -95,9 +92,6 @@ runs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: |
SCCACHE_GHA_ENABLED=true
ACTIONS_CACHE_URL=${{ env.ACTIONS_CACHE_URL }}
ACTIONS_RUNTIME_TOKEN=${{ env.ACTIONS_RUNTIME_TOKEN }}
CARGO_BUILD_PROFILE=dev
platforms: ${{ env.build_platforms }}
push: ${{ inputs.push }}
Expand Down
11 changes: 1 addition & 10 deletions .github/actions/rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,10 @@ runs:
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"

- name: Install sccache cache
uses: mozilla-actions/sccache-action@v0.0.3
- name: Set sccache Rust variables
shell: bash
run: |
echo SCCACHE_GHA_ENABLED=true >> $GITHUB_ENV
echo RUSTC_WRAPPER=sccache >> $GITHUB_ENV

- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
cache-targets: true
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

Expand Down
32 changes: 3 additions & 29 deletions .github/workflows/all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ jobs:
name: Run Platform Test Suite
runs-on: self-hosted
timeout-minutes: 30
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Check out repo
uses: actions/checkout@v3
Expand All @@ -94,16 +90,10 @@ jobs:
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
cache-targets: true
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable

Expand Down Expand Up @@ -160,10 +150,6 @@ jobs:
name: Run Platform Test Suite in Browsers
runs-on: self-hosted
timeout-minutes: 30
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Login to DockerHub
uses: docker/login-action@v2
Expand All @@ -188,16 +174,10 @@ jobs:
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
cache-targets: true
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable

Expand Down Expand Up @@ -287,16 +267,10 @@ jobs:
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
cache-targets: true
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable

Expand Down
24 changes: 2 additions & 22 deletions .github/workflows/js-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ jobs:
name: Linting
runs-on: self-hosted
timeout-minutes: 15
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Check out repo
uses: actions/checkout@v3
Expand All @@ -56,16 +52,10 @@ jobs:
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
cache-targets: true
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable

Expand Down Expand Up @@ -94,10 +84,6 @@ jobs:
runs-on: self-hosted
timeout-minutes: 30
if: ${{ !inputs.skip-tests }}
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
CARGO_INCREMENTAL: "false"
steps:
- name: Setup Firefox
uses: browser-actions/setup-firefox@latest
Expand Down Expand Up @@ -128,16 +114,10 @@ jobs:
- name: Setup Cargo cache
uses: Swatinem/rust-cache@v2
with:
# Don't cache ./target, as it takes tons of space, use sccache instead.
cache-targets: false
cache-targets: true
# We set a shared key, as our cache is reusable between jobs
shared-key: rust-cargo

- name: Setup Rust compilation cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.4.1"

- name: Enable corepack
run: corepack enable

Expand Down
Loading