Use @nested annotation as a standards compliant way to annotate whether we have a top level type or not #1145
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: fuzzr | |
on: | |
push: | |
branches: | |
- master | |
- v* | |
tags: | |
- AXCIOMA-v* | |
pull_request: | |
branches: | |
- master | |
- v* | |
schedule: | |
- cron: '0 1 * * SUN' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
env: | |
X11_BASE_ROOT: ${{ github.workspace }}/axcioma | |
X11_BRANCH: master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- if: contains(fromJson('["pull_request", "pull_request_target"]'), github.event_name) && github.repository_owner == 'RemedyIT' | |
run: | | |
echo "X11_BRANCH=${{ github.base_ref }}" >> $GITHUB_ENV | |
- if: contains(fromJson('["pull_request", "pull_request_target"]'), github.event_name) == false && github.repository_owner == 'RemedyIT' | |
run: | | |
echo "X11_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
- name: checkout axcioma | |
uses: actions/checkout@v4 | |
with: | |
repository: RemedyIT/axcioma | |
path: ${{ env.X11_BASE_ROOT }} | |
ref: ${{ env.X11_BRANCH }} | |
- name: install fuzzr gem | |
run: | | |
gem install fuzzr | |
- name: Run fuzzr | |
run: | | |
fuzz -P $X11_BASE_ROOT/bin/fuzzers |