1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 20:50:28 +00:00
This commit is contained in:
Bernd Schoolmann
2025-11-17 14:06:13 +01:00
parent f221e92712
commit 9886814953
2 changed files with 20 additions and 15 deletions

View File

@@ -4,17 +4,17 @@ on:
pull_request:
types: [opened, synchronize]
branches-ignore:
- 'l10n_master'
- 'cf-pages'
- "l10n_master"
- "cf-pages"
paths-ignore:
- '.github/workflows/**'
- ".github/workflows/**"
push:
branches:
- 'main'
- 'rc'
- 'hotfix-rc-*'
- "main"
- "rc"
- "hotfix-rc-*"
paths-ignore:
- '.github/workflows/**'
- ".github/workflows/**"
workflow_dispatch:
inputs: {}
@@ -65,8 +65,8 @@ jobs:
- name: Set up Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache: "npm"
cache-dependency-path: "**/package-lock.json"
node-version: ${{ steps.retrieve-node-version.outputs.node_version }}
- name: Install Node dependencies
@@ -101,6 +101,12 @@ jobs:
- name: Check Rust version
run: rustup --version
- name: Install linux dependencies
if: ${{ matrix.os=='ubuntu-24.04' }}
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- name: Run cargo fmt
working-directory: ./apps/desktop/desktop_native
run: cargo fmt --check

View File

@@ -8,12 +8,11 @@ on:
- "rc"
- "hotfix-rc-*"
pull_request:
types: [ opened, synchronize ]
types: [opened, synchronize]
permissions: {}
jobs:
testing:
name: Run tests
runs-on: ubuntu-22.04
@@ -38,8 +37,8 @@ jobs:
- name: Set up Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache: "npm"
cache-dependency-path: "**/package-lock.json"
node-version: ${{ steps.retrieve-node-version.outputs.node_version }}
- name: Print environment
@@ -96,11 +95,11 @@ jobs:
- name: Check Rust version
run: rustup --version
- name: Install gnome-keyring
- name: Install linux dependencies
if: ${{ matrix.os=='ubuntu-22.04' }}
run: |
sudo apt-get update
sudo apt-get install -y gnome-keyring dbus-x11
sudo apt-get install -y gnome-keyring dbus-x11 libudev-dev
- name: Check out repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0