Skip to content

Commit

Permalink
Refresh all reusable actions to latest version (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: Mihai Maruseac <[email protected]>
  • Loading branch information
mihaimaruseac authored Oct 8, 2023
1 parent 6144015 commit 716521c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 9 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') # only run on "releases" (pushes to tags)
steps:
- uses: actions/checkout@v4
- run: git show HEAD --format='%s%n%n%b' -s > .release_body
- uses: softprops/action-gh-release@v1
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false

- name: Collect release notes
run: git show HEAD --format='%s%n%n%b' -s > .release_body

- name: Generate release notes
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
with:
generate_release_notes: true
body_path: .release_body
19 changes: 14 additions & 5 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,24 @@ jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
node-version: "16"
cache: "yarn"
persist-credentials: false

- name: Setup node
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 16
cache: yarn
cache-dependency-path: ./yarn.lock

- run: yarn
- run: yarn compile
- run: yarn package
- run: yarn test
- uses: ./

- name: Self test
uses: ./

- run: hlint --version
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: 'Set up HLint'
uses: haskell/actions/hlint-setup@v2
Expand Down

0 comments on commit 716521c

Please sign in to comment.