Skip to content

Integrate for Chipyard compatibility #49

Integrate for Chipyard compatibility

Integrate for Chipyard compatibility #49

Workflow file for this run

name: Code Formatting Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Cache Nix store
uses: actions/cache@v3
with:
path: /nix/store
key: nix-store-${{ runner.os }}-${{ hashFiles('flake.nix', 'flake.lock') }}
restore-keys: |
nix-store-${{ runner.os }}-
- name: Check code formatting with scalafmt
run: nix develop --command sbt scalafmtCheckAll