build: remove unneeded githooks #8
Workflow file for this run
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: On Branch Push (non-develop/release/main) | |
on: | |
push: | |
branches: | |
- "**" | |
- "!develop" | |
- "!release/**" | |
- "!main" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
onPushJob: | |
name: Verify code base when pushed | |
runs-on: macos-latest | |
# runs-on: ubuntu-20.04-16core # Larger github runner, with KVM acceleration | |
steps: | |
- name: Run checkout github action | |
uses: actions/checkout@v4 | |
with: | |
lfs: 'true' | |
fetch-depth: 0 | |
- name: Detect Arch | |
id: detect-arch | |
uses: ./config/actions/detect-arch | |
- name: Setup GitHub Runner workflow | |
uses: ./config/actions/setup-runner | |
- name: Get latest tag | |
id: latest-tag | |
uses: ./config/actions/get-latest-tag | |
with: | |
pattern: 'v*' | |
- name: Generate version code | |
id: version-code | |
uses: ./config/actions/generate-version-code | |
- name: Generate version name | |
id: version-name | |
uses: ./config/actions/version-name | |
with: | |
version-code: ${{ steps.version-code.outputs.version-code }} | |
version-name: ${{ steps.latest-tag.outputs.current-tag }} | |
- name: Run gradle unit tests | |
uses: ./config/actions/gradle-check | |
- name: Bundle reports folder | |
uses: ./config/actions/bundle-reports |