-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:bitwarden/sdk into feature/wasm
# Conflicts: # .gitignore # .vscode/settings.json # Cargo.lock # Cargo.toml # crates/bitwarden-napi/src-ts/bitwarden_client/schemas.ts # crates/bitwarden/src/auth/commands/login.rs # crates/bitwarden/src/client/auth_settings.rs # crates/bitwarden/src/client/client.rs # crates/bitwarden/src/commands/generate_fingerprint.rs # crates/bitwarden/src/sdk/response/mod.rs # crates/bitwarden/src/util.rs # crates/sdk-schemas/src/main.rs # languages/csharp/schemas.cs # languages/js/sdk-client/src/schemas.ts # languages/js_webassembly/package-lock.json # languages/python/BitwardenClient/schemas.py # support/schemas/request/ClientSettings.json # support/schemas/request/Command.json
- Loading branch information
Showing
145 changed files
with
9,387 additions
and
5,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: CLOC | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ["master"] | ||
pull_request: | ||
|
||
jobs: | ||
cloc: | ||
name: CLOC | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
|
||
- name: Set up cloc | ||
run: | | ||
sudo apt update | ||
sudo apt -y install cloc | ||
- name: Print lines of code | ||
run: cloc --vcs git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
name: Direct Minimum Version | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "master" | ||
- "rc" | ||
- "hotfix-rc" | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
direct-minimal-versions: | ||
name: Check dependencies minimal versions for - ${{ matrix.settings.os }} - ${{ matrix.settings.target }} | ||
runs-on: ${{ matrix.settings.os || 'ubuntu-latest' }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
settings: | ||
#- os: macos-12 | ||
# target: x86_64-apple-darwin | ||
|
||
#- os: macos-12 | ||
# target: aarch64-apple-darwin | ||
|
||
- os: windows-2022 | ||
target: x86_64-pc-windows-msvc | ||
|
||
- os: ubuntu-22.04 | ||
target: x86_64-unknown-linux-gnu | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | ||
|
||
- name: Install rust | ||
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 | ||
with: | ||
toolchain: nightly | ||
profile: minimal | ||
override: true | ||
|
||
- name: Cache cargo registry | ||
uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f # v2.5.1 | ||
with: | ||
key: dmv-${{ matrix.settings.target }}-cargo-${{ matrix.settings.os }} | ||
|
||
- name: cargo check direct-minimal-versions | ||
uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 | ||
with: | ||
command: check | ||
args: -Z direct-minimal-versions --all-features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Enforce PR labels | ||
|
||
on: | ||
workflow_call: | ||
pull_request: | ||
types: [labeled, unlabeled, opened, edited, synchronize] | ||
jobs: | ||
enforce-label: | ||
name: EnforceLabel | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Enforce Label | ||
uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2 | ||
with: | ||
BANNED_LABELS: "hold,needs-qa" | ||
BANNED_LABELS_DESCRIPTION: "PRs with the hold or needs-qa labels cannot be merged" |
Oops, something went wrong.