-
-
Notifications
You must be signed in to change notification settings - Fork 12
Bump ghc and ci action versions #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ name: Build and deploy | |
|
|
||
| on: | ||
| push: | ||
| branches: main | ||
| branches: [ main ] | ||
| pull_request: | ||
|
|
||
| permissions: | ||
|
|
@@ -15,14 +15,14 @@ jobs: | |
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/checkout@v6 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to shut up github warnings about old versions of nodejs |
||
|
|
||
| - uses: cachix/install-nix-action@v31 | ||
| with: | ||
| github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Install cachix | ||
| uses: cachix/cachix-action@v16 | ||
| uses: cachix/cachix-action@v17 | ||
| with: | ||
| name: haskell-miso-cachix | ||
|
|
||
|
|
@@ -36,7 +36,7 @@ jobs: | |
| run: nix develop .#ghcjs --command bash -c "make js" | ||
|
|
||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| uses: actions/upload-pages-artifact@v5 | ||
| with: | ||
| path: ./public | ||
|
|
||
|
|
@@ -47,7 +47,7 @@ jobs: | |
|
|
||
| - name: Build WASM using GHCup | ||
| run: | | ||
| make ghcup-build | ||
| make ghcup-build | ||
|
|
||
| deploy: | ||
| if: github.ref == 'refs/heads/main' | ||
|
|
@@ -62,5 +62,4 @@ jobs: | |
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 | ||
|
|
||
| uses: actions/deploy-pages@v5 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,13 +63,13 @@ viewModel _ x = H.div_ | |
| [ P.class_ "buttons-container" | ||
| ] | ||
| [ H.button_ | ||
| [ E.onClick AddOne | ||
| [ E.onClick SubtractOne | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, couldn't resist, this is really triggering me. |
||
| , P.class_ "decrement-btn" | ||
| ] [text "+"] | ||
| ] [text "-"] | ||
| , H.button_ | ||
| [ E.onClick SubtractOne | ||
| [ E.onClick AddOne | ||
| , P.class_ "increment-btn" | ||
| ] [text "-"] | ||
| ] [text "+"] | ||
| ] | ||
| ] | ||
| ----------------------------------------------------------------------------- | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vscode complaining about this file not being schema compliant (
branchesneeds to be an array of strings, not a string)