Skip to content

Commit

Permalink
upgrade checkout action to v4 (#11)
Browse files Browse the repository at this point in the history
* upgrade checkout action to v4

* add dependabot config for github actions

* add weeder-action

* add basic weeder config
  • Loading branch information
chris-martin authored Oct 26, 2023
1 parent c3b2627 commit 67d9e40
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: generate
uses: freckle/stack-action/generate-matrix@v4
outputs:
Expand All @@ -29,15 +29,20 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: freckle/stack-action@v4
- uses: actions/checkout@v4
- id: stack
uses: freckle/stack-action@v4
with:
stack-yaml: ${{ matrix.stack-yaml }}
- if: ${{ matrix.stack-yaml == 'stack.yaml' }}
uses: freckle/weeder-action@v2
with:
ghc-version: ${{ steps.stack.outputs.compiler-version }}

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: haskell/actions/hlint-setup@v2
- uses: haskell/actions/hlint-run@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: false # Remove when ready to release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- id: tag
uses: freckle/haskell-tag-action@v1
Expand Down
2 changes: 2 additions & 0 deletions weeder.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
roots = [ "Main.main" ]
type-class-roots = true

0 comments on commit 67d9e40

Please sign in to comment.