Skip to content
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

Update tools used in GitHub Actions #1250

Merged
merged 3 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -53,10 +53,10 @@ jobs:
${{ runner.os }}-

- name: Install global NPM packages
run: npm i --global [email protected].10 spago@next purs-tidy@latest esbuild@latest
run: npm i --global [email protected].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: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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:
Expand Down
Loading