diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 95875aa1..f194c777 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -5,14 +5,17 @@ on: branches: [master] pull_request: +permissions: + contents: write + jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup mdBook - uses: peaceiris/actions-mdbook@v1 + uses: peaceiris/actions-mdbook@v2 with: mdbook-version: 'latest' @@ -30,7 +33,7 @@ jobs: - run: mdbook build - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 if: github.ref == 'refs/heads/master' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 62e47341..52f82f65 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up PureScript toolchain uses: purescript-contrib/setup-purescript@main - name: Cache PureScript dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }} path: | @@ -24,12 +24,12 @@ jobs: exercises/*/output - name: Set up Node toolchain - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: "14.x" + node-version: "24.x" - name: Cache NPM dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: diff --git a/README.md b/README.md index bc7d647e..d2bfc5fa 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This repository contains a [community fork](https://github.com/purescript-contri If you enjoyed the book or found it useful, please consider buying a copy of [the original on Leanpub](https://leanpub.com/purescript). -Translations: [日本語 (Japanese)](https://gemmaro.github.io/purescript-book/) +Translations: [日本語 (Japanese)](https://purs-jp.github.io/purescript-book/) ## Status diff --git a/book.toml b/book.toml index 064f1c81..cd24f633 100644 --- a/book.toml +++ b/book.toml @@ -1,7 +1,6 @@ [book] authors = ["Phil Freeman"] language = "en" -multilingual = false src = "text" title = "PureScript by Example" [output.html]