We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff69ec commit 3004fd9Copy full SHA for 3004fd9
.github/workflows/fmt.yml
@@ -16,7 +16,7 @@ jobs:
16
# This workflow contains a single job called "build"
17
fmt:
18
# The type of runner that the job will run on
19
- runs-on: ubuntu-latest
+ runs-on: ubuntu-18.04
20
21
# Steps represent a sequence of tasks that will be executed as part of the job
22
steps:
scripts/gofmtcheck.sh
@@ -2,6 +2,7 @@
2
3
# Check gofmt
4
echo "==> Checking that code complies with gofmt requirements..."
5
+echo $(go version)
6
gofmt_files=$(gofmt -l `find tencentcloud -name '*.go' | grep -v vendor`)
7
if [[ -n ${gofmt_files} ]]; then
8
echo 'gofmt needs running on the following files:'
0 commit comments