File tree 4 files changed +15
-6
lines changed
4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 38
38
39
39
steps :
40
40
- name : Checkout repository
41
- uses : actions/checkout@v2
41
+ uses : actions/checkout@v4
42
42
43
43
# Initializes the CodeQL tools for scanning.
44
44
- name : Initialize CodeQL
68
68
69
69
- name : Perform CodeQL Analysis
70
70
uses : github/codeql-action/analyze@v2
71
-
Original file line number Diff line number Diff line change 30
30
sudo apt-get -y update
31
31
sudo apt-get -y install gcc-aarch64-linux-gnu
32
32
- name : Checkout osxcross
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v4
34
34
with :
35
35
repository : tpoechtrager/osxcross
36
36
path : osxcross
41
41
wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz -O tarballs/MacOSX11.3.sdk.tar.xz
42
42
echo cd4f08a75577145b8f05245a2975f7c81401d75e9535dcffbb879ee1deefcbf4 tarballs/MacOSX11.3.sdk.tar.xz | sha256sum -c -
43
43
UNATTENDED=1 ./build.sh
44
- echo $PWD/target/bin >> $GITHUB_PATH
44
+ echo " $PWD/target/bin" >> " $GITHUB_PATH"
45
45
- name : Run GoReleaser
46
- uses : goreleaser/goreleaser-action@v2
46
+ uses : goreleaser/goreleaser-action@v3
47
47
with :
48
48
distribution : goreleaser
49
49
version : latest
Original file line number Diff line number Diff line change 34
34
- name : Run shellcheck
35
35
shell : bash
36
36
run : scripts/shellcheck.sh
37
+ - name : Run actionlint
38
+ shell : bash
39
+ run : scripts/actionlint.sh
37
40
38
41
unit_test :
39
42
name : Golang Unit Tests (${{ matrix.os }})
51
54
- name : Set timeout on Windows # Windows UT run slower and need a longer timeout
52
55
shell : bash
53
56
if : matrix.os == 'windows-latest'
54
- run : echo "TIMEOUT=1200s" >> $GITHUB_ENV
57
+ run : echo "TIMEOUT=1200s" >> " $GITHUB_ENV"
55
58
- run : go mod download
56
59
shell : bash
57
60
- run : ./scripts/build.sh ./build/subnetevm
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+
5
+ go install github.com/rhysd/actionlint/cmd/
[email protected]
6
+
7
+ actionlint
You can’t perform that action at this time.
0 commit comments