Skip to content

Commit

Permalink
chore: Update versions of github actions (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
croyzor authored Oct 4, 2024
1 parent 2f4925f commit e864d41
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: haskell/actions/setup@v1
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.6.4'
cabal-version: '3.4'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
working-directory: brat/

steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
ghc-version: '9.6.4'
cabal-version: '3.4'
enable-stack: true

# from: https://raehik.github.io/2021/03/01/caching-stack-and-cabal-haskell-builds-on-github-actions.html
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.stack
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
stack test --coverage --no-run-benchmarks
echo "artifactPath=$(stack path --local-hpc-root)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: coverage
path: ${{ env.artifactPath }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
working-directory: vscode
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Install npm packages
run: npm install
- name: Build extension
run: npm run publish
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: brat-vscode
path: vscode/brat.vsix

0 comments on commit e864d41

Please sign in to comment.