Merge pull request #1600 from firebase/nc/reencrypt #1446
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: check | |
on: | |
pull_request: | |
push: | |
branches: main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: macOS-14 | |
env: | |
MINT_PATH: ${{ github.workspace }}/mint | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Mint packages | |
uses: actions/cache@v1 | |
with: | |
path: ${{ env.MINT_PATH }} | |
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | |
restore-keys: ${{ runner.os }}-mint- | |
- name: Install mint | |
run: brew install mint | |
- name: Bootstrap mint with swiftformat | |
run: mint bootstrap | |
- name: Check | |
run: scripts/style.sh test-only |