File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed
Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2626 persist-credentials : false
2727 - uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
2828 with :
29- go-version : stable
29+ go-version-file : " go.mod "
3030 check-latest : true
3131 - run : ./scripts/run_tests.sh || true
3232 env :
Original file line number Diff line number Diff line change 7777 - name : Set up Go
7878 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
7979 with :
80- go-version : stable
80+ go-version-file : " go.mod "
8181 check-latest : true
8282 - run : go mod tidy -diff
8383 lint :
9393 - name : Set up Go
9494 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
9595 with :
96- go-version : stable
96+ go-version-file : " go.mod "
9797 check-latest : true
9898 - name : Run lint action
9999 uses : ./.github/workflows/lint-action
@@ -135,7 +135,7 @@ jobs:
135135 - name : Set up Go
136136 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
137137 with :
138- go-version : stable
138+ go-version-file : " go.mod "
139139 check-latest : true
140140 - name : Run test action
141141 uses : ./.github/workflows/test-action
@@ -156,7 +156,7 @@ jobs:
156156 - name : Set up Go
157157 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
158158 with :
159- go-version : stable
159+ go-version-file : " go.mod "
160160 check-latest : true
161161 - uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
162162 - uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
Original file line number Diff line number Diff line change 2626 persist-credentials : false
2727 - uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
2828 with :
29- go-version : stable
29+ go-version-file : " go.mod "
3030 check-latest : true
3131 - run : |
3232 latest_commit=$(git ls-remote https://github.com/google/osv-scalibr.git HEAD | cut -f1)
Original file line number Diff line number Diff line change 2929 - name : Set up Go
3030 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
3131 with :
32- go-version : stable
32+ go-version-file : " go.mod "
3333 check-latest : true
3434 - uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
3535 - uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
Original file line number Diff line number Diff line change 2828 - name : Set up Go
2929 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
3030 with :
31- go-version : stable
31+ go-version-file : " go.mod "
3232 check-latest : true
3333 - uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
3434 - uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
Original file line number Diff line number Diff line change 6464 - name : Set up Go
6565 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
6666 with :
67- go-version : stable
67+ go-version-file : " go.mod "
6868 check-latest : true
6969 - run : go mod tidy -diff
7070 lint :
8181 - name : Set up Go
8282 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
8383 with :
84- go-version : stable
84+ go-version-file : " go.mod "
8585 check-latest : true
8686 - name : Run lint action
8787 uses : ./.github/workflows/lint-action
@@ -124,7 +124,7 @@ jobs:
124124 - name : Set up Go
125125 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
126126 with :
127- go-version : stable
127+ go-version-file : " go.mod "
128128 check-latest : true
129129 - name : Run test action
130130 uses : ./.github/workflows/test-action
@@ -144,7 +144,7 @@ jobs:
144144 - name : Set up Go
145145 uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
146146 with :
147- go-version : stable
147+ go-version-file : " go.mod "
148148 check-latest : true
149149 - name : Run generators
150150 run : go generate ./...
Original file line number Diff line number Diff line change 2626 persist-credentials : false
2727 - uses : actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
2828 with :
29- go-version : stable
29+ go-version-file : " go.mod "
3030 check-latest : true
3131 - run : ./scripts/run_tests.sh || true
3232 env :
You can’t perform that action at this time.
0 commit comments