Skip to content

Commit

Permalink
Use boomerang to gate boomerang
Browse files Browse the repository at this point in the history
  • Loading branch information
JAORMX committed Nov 21, 2023
1 parent e0738f5 commit 7d90ccd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,17 @@ jobs:
- name: setup task
uses: arduino/setup-task@e26d8975574116b0097a1161e0fe16ba75d84c1c # v1

# Builds the bin/boomerang binary
- name: build
run: |-
task build
- name: upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: boomerang
path: bin/boomerang

lint:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -58,3 +65,21 @@ jobs:
task test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Checks that the github workflows are valid using this same tool
boomerang:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

# Fetch boomerang artifact
- name: download artifact
uses: actions/download-artifact@v3
with:
name: boomerang
path: bin/boomerang

- name: Bommerang
run: |-
bin/boomerang ghactions --dry-run --error

0 comments on commit 7d90ccd

Please sign in to comment.