https://github.com/twisterrob/github-workflows
Reusable GitHub Actions workflows for my repositories.
https://github.com/twisterrob/github-workflows
Last synced: 4 months ago
JSON representation
Reusable GitHub Actions workflows for my repositories.
- Host: GitHub
- URL: https://github.com/twisterrob/github-workflows
- Owner: TWiStErRob
- License: unlicense
- Created: 2023-07-09T20:07:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-02-01T00:40:15.000Z (5 months ago)
- Last Synced: 2026-02-01T12:15:59.904Z (5 months ago)
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-workflows
Reusable GitHub Actions workflows for my repositories.
## [validate.yml](.github/workflows/validate.yml)
Gradle wrapper, GitHub workflows and Renovate configuration validation.
```yaml
jobs:
validate:
name: "🦺 Validation"
uses: TWiStErRob/github-workflows/.github/workflows/validate.yml@v3
permissions:
contents: read
security-events: write
actions: read
```
## [instrumentation.yml](.github/workflows/instrumentation.yml)
Run Android instrumentation tests on an emulator and upload artifacts.
```yaml
jobs:
instrumentation:
name: "🧪 Instrumentation Tests on" # / API ${{ matrix.api }} will be appended by used workflow.
needs: validate
uses: ./.github/workflows/instrumentation.yml
permissions:
contents: read
checks: write
statuses: write
```
```yaml
name: "🧪 Instrumentation Test Matrix"
on:
workflow_call
jobs:
instrumentation:
name: "${{ matrix.api }}"
uses: TWiStErRob/github-workflows/.github/workflows/instrumentation.yml@v3
with:
android-api: ${{ matrix.api }}
script: >
./gradlew
--no-daemon
--continue
--stacktrace
:app:connectedCheck
permissions:
contents: read
checks: write
statuses: write
strategy:
fail-fast: false
matrix:
# The API level, see https://apilevels.com/.
api:
- 29
- 33
```
## Related docs
* https://docs.github.com/en/actions/using-workflows/reusing-workflows