forked from google/guava
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor into reusable workflows
Signed-off-by: Sam Gammon <[email protected]>
- Loading branch information
Showing
6 changed files
with
68 additions
and
19 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,35 @@ | ||
name: PR | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
## Run main CI build and tests. | ||
run-ci: | ||
name: "Build & Test" | ||
uses: ./.github/workflows/ci.yml | ||
permissions: | ||
actions: write | ||
contents: write | ||
|
||
## Validate the Gradle Wrapper binary | ||
checks-gradle-wrapper: | ||
name: "Checks" | ||
uses: ./.github/workflows/gradle-wrapper-validation.yml | ||
|
||
## Publish and check the dependency graph. | ||
checks-dependency-graph: | ||
name: "Checks" | ||
uses: ./.github/workflows/dependency-review.yml | ||
permissions: | ||
id-token: write | ||
|
||
## Run CodeQL checks | ||
checks-codeql: | ||
name: "Checks" | ||
uses: ./.github/workflows/codeql.yml |
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,25 @@ | ||
name: Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
## Run main CI build and tests. | ||
run-ci: | ||
name: "Build & Test" | ||
uses: ./.github/workflows/ci.yml | ||
permissions: | ||
actions: write | ||
contents: write | ||
|
||
## Publish and check the dependency graph. | ||
checks-dependency-graph: | ||
name: "Checks" | ||
uses: ./.github/workflows/dependency-review.yml | ||
permissions: | ||
id-token: write |