Skip to content

Commit

Permalink
push go version back to what CodeQL has
Browse files Browse the repository at this point in the history
Change-Id: I8daf0bdaae9f9ece3a11074c41c9ce05b90dd220
  • Loading branch information
cooljeanius committed Nov 16, 2024
1 parent 50c965a commit e01bed3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ jobs:
stat info.js.json || echo "info.js.json"; \
elif test -r info.min.js && test -x "$(which du)"; then \
stat info.min.js && du info.min.js; \
elif test -x "$(which yamllint)"; then \
pwd && (yamllint . || yamllint --version); \
fi; \
sync && echo "Done with texinfo javascript."; \
popd || exit; \
Expand All @@ -277,6 +279,8 @@ jobs:
find . -name '*.go' -print0 | xargs -0 gofmt; \
elif test -x "$(which actionlint)"; then \
sync && which actionlint && actionlint -verbose && sleep 1; \
elif test -x "$(which yamllint)"; then \
sync && which yamllint && yamllint . && sleep 1; \
else \
sync && echo "no linters found for go ($(which go))." && sleep 1; \
fi; \
Expand All @@ -303,7 +307,7 @@ jobs:
fi; \
elif test ${{ matrix.language }} == 'csharp' && test -x "$(which yamllint)"; then \
sync && which -a yamllint && sleep 1; \
yamllint .github/codeql/extensions/apple-gdb-1824-csharp/codeql-pack.yml; \
yamllint .github/codeql/extensions/apple-gdb*csharp/codeql-pack.yml; \
stat "$(which csc)" || stat "$(which mcs)" || which -a dotnet; \
sync && echo "TODO: find a proper linter for csharp…" && sleep 1; \
else \
Expand Down
4 changes: 4 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# https://yamllint.readthedocs.io/en/stable/configuration.html
extends: default

ignore:
- src/gdb/*/*/*/build/*.build/Debug/*.build/all-product-headers.yaml
- src/tk/macosx/build/*.build/Development/*.build/all-product-headers.yaml

rules:
float-values: enable
indentation:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module src/gdb/testsuite/gdb.go

go 1.23
go 1.18
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1 +1 @@
go 1.23.2
go 1.18

0 comments on commit e01bed3

Please sign in to comment.