Skip to content
Merged
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: 1 addition & 5 deletions .github/actions/setup-jvm-toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ inputs:
based build.sh which does not use Gradle.
required: false
default: ""
cache-disabled:
description: "Disable Gradle cache restore and save"
required: false
default: "false"

runs:
using: composite
Expand Down Expand Up @@ -65,7 +61,7 @@ runs:
uses: gradle/actions/setup-gradle@v6.3.0
with:
gradle-version: ${{ inputs.gradle-version }}
cache-disabled: ${{ inputs.cache-disabled }}
cache-disabled: true

- name: Put configured JDK first on PATH
shell: bash
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ jobs:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}
targets: wasm32-unknown-unknown

- name: Cache Cargo
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }}
uses: actions/setup-node@v6
with:
Expand All @@ -77,15 +72,7 @@ jobs:
with:
go-version: ${{ needs.get-configs.outputs.go-version }}

- name: Cache uniffi-bindgen-go
id: cache-uniffi-bindgen-go
uses: actions/cache@v4
with:
path: ~/.cargo/bin/uniffi-bindgen-go*
key: uniffi-bindgen-go-${{ needs.get-configs.outputs.uniffi-bindgen-go-tag }}-ubuntu-latest

- name: Install uniffi-bindgen-go ${{ needs.get-configs.outputs.uniffi-bindgen-go-tag }}
if: steps.cache-uniffi-bindgen-go.outputs.cache-hit != 'true'
run: cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag '${{ needs.get-configs.outputs.uniffi-bindgen-go-tag }}'

- name: Log tool versions
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Install cargo-about ${{ needs.get-configs.outputs.cargo-about-version }}
uses: taiki-e/install-action@v2.86.7
with:
Expand Down Expand Up @@ -146,12 +140,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup JVM toolchain
uses: ./.github/actions/setup-jvm-toolchain
with:
Expand All @@ -160,7 +148,6 @@ jobs:
kotlin-version: ${{ needs.get-configs.outputs.kotlin-version }}
ktlint-version: ${{ needs.get-configs.outputs.ktlint-version }}
gradle-version: ${{ needs.get-configs.outputs.gradle-version }}
cache-disabled: ${{ github.event_name == 'workflow_dispatch' }}

- name: Log tool versions
uses: ./.github/actions/print-build-versions
Expand Down Expand Up @@ -211,12 +198,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }}
uses: actions/setup-node@v6
with:
Expand Down Expand Up @@ -280,12 +261,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Log tool versions
uses: ./.github/actions/print-build-versions

Expand Down Expand Up @@ -329,12 +304,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup Python ${{ needs.get-configs.outputs.python-version }}
uses: actions/setup-python@v6
with:
Expand Down Expand Up @@ -387,27 +356,12 @@ jobs:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}${{ matrix.target && format('-{0}', matrix.target) || '' }}
targets: ${{ matrix.target || '' }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup Go ${{ needs.get-configs.outputs.go-version }}
uses: actions/setup-go@v6
with:
go-version: ${{ needs.get-configs.outputs.go-version }}

- name: Cache uniffi-bindgen-go
if: ${{ github.event_name != 'workflow_dispatch' }}
id: cache-uniffi-bindgen-go
uses: actions/cache@v4
with:
path: ~/.cargo/bin/uniffi-bindgen-go*
key: uniffi-bindgen-go-${{ needs.get-configs.outputs.uniffi-bindgen-go-tag }}-${{ matrix.os }}

- name: Install uniffi-bindgen-go ${{ needs.get-configs.outputs.uniffi-bindgen-go-tag }}
if: steps.cache-uniffi-bindgen-go.outputs.cache-hit != 'true'
run: cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag '${{ needs.get-configs.outputs.uniffi-bindgen-go-tag }}'

- name: Log tool versions
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
build-mode: none
- language: python
build-mode: none
- language: go
build-mode: none
- language: actions
build-mode: none

Expand Down
37 changes: 0 additions & 37 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,6 @@ jobs:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}
components: clippy

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ needs.get-configs.outputs.working-dir }}

- name: Log tool versions
uses: ./.github/actions/print-build-versions

Expand Down Expand Up @@ -165,12 +159,6 @@ jobs:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}
components: llvm-tools-preview

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Install cargo-llvm-cov ${{ needs.get-configs.outputs.cargo-llvm-cov-version }}
uses: taiki-e/install-action@v2.86.7
with:
Expand Down Expand Up @@ -216,12 +204,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup JVM toolchain
uses: ./.github/actions/setup-jvm-toolchain
with:
Expand All @@ -230,7 +212,6 @@ jobs:
kotlin-version: ${{ needs.get-configs.outputs.kotlin-version }}
ktlint-version: ${{ needs.get-configs.outputs.ktlint-version }}
gradle-version: ${{ needs.get-configs.outputs.gradle-version }}
cache-disabled: ${{ github.event_name == 'workflow_dispatch' }}

- name: Log tool versions
uses: ./.github/actions/print-build-versions
Expand Down Expand Up @@ -270,12 +251,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup Node.js ${{ needs.get-configs.outputs.node-version }}
uses: actions/setup-node@v6
with:
Expand Down Expand Up @@ -322,12 +297,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup Python ${{ needs.get-configs.outputs.python-version }}
uses: actions/setup-python@v6
with:
Expand Down Expand Up @@ -366,12 +335,6 @@ jobs:
with:
toolchain: ${{ needs.get-configs.outputs.rust-toolchain }}

- name: Cache Cargo
if: ${{ github.event_name != 'workflow_dispatch' }}
uses: Swatinem/rust-cache@v2.9.2
with:
workspaces: ${{ env.WORKING_DIR }}

- name: Setup Go ${{ needs.get-configs.outputs.go-version }}
uses: actions/setup-go@v6
with:
Expand Down
Loading