forked from slackhq/circuit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new baseline profile plugin (slackhq#623)
- Loading branch information
Showing
31 changed files
with
9,485 additions
and
16,667 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: "Update Baseline Profiles" | ||
|
||
on: | ||
workflow_dispatch: | ||
# Always run on PRs if this file was modified! We won't PR changes if we modify the file though | ||
pull_request: | ||
paths: | ||
- '.github/workflows/update-baseline-profiles.yml' | ||
|
||
concurrency: | ||
group: 'ci-${{ github.event.merge_group.head_ref || github.head_ref }}-${{ github.workflow }}' | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
update-baseline-profiles: | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
lfs: 'true' | ||
|
||
- name: Gradle Wrapper Validation | ||
uses: gradle/wrapper-validation-action@v1 | ||
|
||
- name: Install JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '19' | ||
|
||
- name: Set up Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
cache-read-only: false | ||
|
||
- name: Generate baseline profiles | ||
run: ./scripts/update-baseline-profiles.sh | ||
|
||
- name: Create Pull Request | ||
if: github.event_name == 'workflow_dispatch' | ||
id: createpr | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
token: ${{ secrets.SLACKHQ_MBR_GITHUB_TOKEN }} | ||
commit-message: 'Update baseline profiles' | ||
committer: OSS-Bot <[email protected]> | ||
author: OSS-Bot <[email protected]> | ||
title: 'Update baseline profiles' | ||
body: 'Updates baseline profiles' | ||
reviewers: ${{ github.actor }} | ||
branch-suffix: timestamp | ||
branch: bot/update-baseline-profiles |
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 was deleted.
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
backstack/src/androidMain/generated/baselineProfiles/baseline-prof.txt
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.