diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 137dabf73..6bb0e2c39 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: git config --global core.eol lf git config --global core.longpaths true - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # NB: We install gnu-tar because BSD tar is buggy on Github's macos machines, # and it breaks the cache: https://github.com/actions/cache/issues/403 @@ -36,12 +36,12 @@ jobs: echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH - name: Setup node and npm - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - name: Cache NPM dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-node-modules with: @@ -53,10 +53,10 @@ jobs: ${{ runner.os }}- - name: Install global NPM packages - run: npm i --global purescript@0.15.10 spago@next purs-tidy@latest esbuild@latest + run: npm i --global purescript@0.15.15 spago@next purs-tidy@latest esbuild@latest - name: Cache PureScript dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.yaml') }} path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca3682817..0d00240dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: matrix: include: - os: ubuntu-latest - image: haskell:9.2.4 + image: haskell:9.2.8 - os: macOS-latest - os: windows-latest steps: @@ -47,10 +47,10 @@ jobs: git config --global core.autocrlf false git config --global core.eol lf git config --global core.longpaths true - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Haskell (macOS and Windows) if: runner.os != 'Linux' - uses: haskell/actions/setup@v1 + uses: haskell-actions/setup@v2 with: stack-version: ${{ env.STACK_VERSION }} enable-stack: true @@ -61,9 +61,9 @@ jobs: [ "$(stack --numeric-version)" = "$STACK_VERSION" ] chown root:root . - name: Setup node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 # NB: We install gnu-tar because BSD tar is buggy on Github's macos machines, # and it breaks the cache: https://github.com/actions/cache/issues/403 - name: Install GNU tar (macOS) @@ -124,10 +124,10 @@ jobs: needs: build_release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - name: Publish to NPM shell: bash env: