Skip to content

Commit 3004fd9

Browse files
committed
update workflow
1 parent cff69ec commit 3004fd9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/fmt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# This workflow contains a single job called "build"
1717
fmt:
1818
# The type of runner that the job will run on
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-18.04
2020

2121
# Steps represent a sequence of tasks that will be executed as part of the job
2222
steps:

scripts/gofmtcheck.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Check gofmt
44
echo "==> Checking that code complies with gofmt requirements..."
5+
echo $(go version)
56
gofmt_files=$(gofmt -l `find tencentcloud -name '*.go' | grep -v vendor`)
67
if [[ -n ${gofmt_files} ]]; then
78
echo 'gofmt needs running on the following files:'

0 commit comments

Comments
 (0)