Skip to content

fixup! test: add Slang workflow to CI #736

fixup! test: add Slang workflow to CI

fixup! test: add Slang workflow to CI #736

Workflow file for this run

# Copyright 2023 Thales DIS
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
name: Verible
on: [push, pull_request, workflow_dispatch]
jobs:
format:
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
# Skip on forks due to missing secrets.
if: github.repository == 'pulp-platform/cva6' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
steps:
- uses: actions/checkout@v7
- uses: chipsalliance/verible-formatter-action@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: '$(find core -regex ".*\.\(v\|sv\)$" | grep -v "^core/include/.*_config_pkg\.sv$")'
fail_on_formatting_suggestions: true
reviewdog_reporter: github-check
- name: CVA6Cfg's XLEN attribute usage verificatory script
if: always()
run: |
chmod +x util/sanitize/systemverilog/xlen_misuse.sh
util/sanitize/systemverilog/xlen_misuse.sh