File tree Expand file tree Collapse file tree 3 files changed +25
-9
lines changed Expand file tree Collapse file tree 3 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
if : startsWith(github.ref, 'refs/tags/') # only run on "releases" (pushes to tags)
15
15
steps :
16
- - uses : actions/checkout@v4
17
- - run : git show HEAD --format='%s%n%n%b' -s > .release_body
18
- - uses : softprops/action-gh-release@v1
16
+ - name : Checkout code
17
+ uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
18
+ with :
19
+ persist-credentials : false
20
+
21
+ - name : Collect release notes
22
+ run : git show HEAD --format='%s%n%n%b' -s > .release_body
23
+
24
+ - name : Generate release notes
25
+ uses : softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
19
26
with :
20
27
generate_release_notes : true
21
28
body_path : .release_body
Original file line number Diff line number Diff line change @@ -13,15 +13,24 @@ jobs:
13
13
unit-tests :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v4
17
- - uses : actions/setup-node@v3
16
+ - name : Checkout code
17
+ uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
18
18
with :
19
- node-version : " 16"
20
- cache : " yarn"
19
+ persist-credentials : false
20
+
21
+ - name : Setup node
22
+ uses : actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
23
+ with :
24
+ node-version : 16
25
+ cache : yarn
21
26
cache-dependency-path : ./yarn.lock
27
+
22
28
- run : yarn
23
29
- run : yarn compile
24
30
- run : yarn package
25
31
- run : yarn test
26
- - uses : ./
32
+
33
+ - name : Self test
34
+ uses : ./
35
+
27
36
- run : hlint --version
Original file line number Diff line number Diff line change 36
36
hlint :
37
37
runs-on : ubuntu-latest
38
38
steps :
39
- - uses : actions/checkout@v3
39
+ - uses : actions/checkout@v4
40
40
41
41
- name : ' Set up HLint'
42
42
uses : haskell/actions/hlint-setup@v2
You can’t perform that action at this time.
0 commit comments