PlutusV3 ScriptContext (#5449) #28
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: HLint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
hlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup HLint | |
uses: haskell/actions/hlint-setup@v2 | |
with: | |
version: '3.4' | |
- name: Quick Install Nix | |
uses: nixbuild/nix-quick-install-action@v25 | |
with: | |
# 2.14.1 seems to have issues, see https://github.com/nixbuild/nix-quick-install-action/issues/29 | |
nix_version: '2.13.3' | |
nix_conf: | | |
experimental-features = nix-command flakes | |
accept-flake-config = true | |
- name: Build | |
run: nix build .#hlint | |
- name: Run | |
uses: haskell/actions/hlint-run@v2 | |
with: | |
hlint-bin: "./result/bin/hlint --hint=./.github/.hlint.yaml" | |
fail-on: status | |
path: . | |