Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
0rphee committed Jul 16, 2024
1 parent 251e704 commit fb49c62
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 21 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:

- uses: haskell-actions/run-fourmolu@v10
with:
version: "0.15.0.0" # per hls 2.9.0.0
pattern: |
src
app
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,6 @@ on:
tags-ignore:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
hlint:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/hlint-setup@v1
- uses: haskell-actions/hlint-run@v2

fourmolu:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/run-fourmolu@v10
with:
# Only check the format of .hs in any directory inside cwd but not cwd.
pattern: |
*/**/*.hs
build-binaries:
name: Build and upload binaries (${{ matrix.os }})
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ main :: IO ()
main = do
(Options sourceCodePath) <- runCmdOptions
putStrLn $ "FILEPATH: " <> sourceCodePath
assemblyCode <- T.readFile "asm/colors.asm"
assemblyCode <- T.readFile sourceCodePath
T.putStrLn assemblyCode
T.putStrLn $ T.replicate 10 "-"
mayStatements <- Expr.mainLocal assemblyCode
Expand Down
2 changes: 1 addition & 1 deletion asmh.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extra-source-files:
CHANGELOG.md
README.md

tested-with: ghc ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
tested-with: ghc ==9.4.8 || ==9.6.5

common common-options
default-language: GHC2021
Expand Down

0 comments on commit fb49c62

Please sign in to comment.