Skip to content

[Bombastic Perks] Add Gunslinger perk #103242

[Bombastic Perks] Add Gunslinger perk

[Bombastic Perks] Add Gunslinger perk #103242

Workflow file for this run

name: astyle
on: pull_request
jobs:
skip-duplicates:
continue-on-error: true
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@04a1aebece824b56e6ad6a401d015479cd1c50b3 # master
with:
cancel_others: 'true'
paths: '[".github/workflows/astyle.yml", "Makefile", ".astylerc", "**.cpp", "**.h", "**.c"]'
- run: echo ${{ github.event.number }} > pull_request_id
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: pull_request_id
path: pull_request_id
astyle-code:
name: astyle check
needs: skip-duplicates
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: false
- name: install dependencies
run: sudo apt-get install astyle
- name: astyle check
run: make astyle-check
- name: Format
if: failure()
run: make astyle-fast
- name: Display Corrections
if: failure()
run: git diff --color