BIT-1212: Refactor vault group to display a section of items (#529) #491
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
--- | |
name: Cache Dependencies | |
on: | |
push: | |
branches: | |
- main | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.0.1.app/Contents/Developer | |
MINT_LINK_PATH: .mint/bin | |
MINT_PATH: .mint/lib | |
jobs: | |
cache-dependencies: | |
name: Cache Dependencies | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@b203567269b5bbc256dbc1c84f7495913f977353 # v1.167.0 | |
with: | |
bundler-cache: true | |
ruby-version: 3.2.2 | |
- name: Cache Mint Packages | |
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 | |
with: | |
path: .mint | |
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | |
restore-keys: | | |
${{ runner.os }}-mint- | |
- name: Cache SPM Packages | |
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 | |
with: | |
path: build/DerivedData/SourcePackages | |
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | |
restore-keys: | | |
${{ runner.os }}-spm- | |
- name: Setup | |
run: | | |
brew install mint xcbeautify | |
./Scripts/bootstrap.sh | |
- name: Update Xcode Dependencies | |
run: | | |
set -o pipefail && \ | |
xcodebuild -resolvePackageDependencies \ | |
-project Bitwarden.xcodeproj \ | |
-clonedSourcePackagesDirPath build/DerivedData/SourcePackages |