+
Skip to content

chore(deps): bump github.com/ory/x from 0.0.728 to 0.0.729 #971

chore(deps): bump github.com/ory/x from 0.0.728 to 0.0.729

chore(deps): bump github.com/ory/x from 0.0.728 to 0.0.729 #971

Workflow file for this run

name: Lint Codebase
on:
push:
paths:
- "**.go"
- go.mod
- go.sum
pull_request:
paths:
- "**.go"
- go.mod
- go.sum
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.24.2
uses: actions/setup-go@v5
with:
go-version: "1.24.2"
- name: Check out code
uses: actions/checkout@v4
- name: Verify dependencies
run: |
go mod verify
go mod download
- name: Run checks
run: |
STATUS=0
assert-nothing-changed() {
local diff
"$@" >/dev/null || return 1
if ! diff="$(git diff -U1 --color --exit-code)"; then
printf '\e[31mError: running `\e[1m%s\e[22m` results in modifications that you must check into version control:\e[0m\n%s\n\n' "$*" "$diff" >&2
git checkout -- .
STATUS=1
fi
}
assert-nothing-changed go fmt ./...
assert-nothing-changed go mod tidy
exit $STATUS
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.1.6
args: --timeout=10m
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载