fix(database/gdb): move Raw
parameter from args to sql statement before committed to db driver
#4936
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright GoFrame Author(https://goframe.org). All Rights Reserved. | |
# | |
# This Source Code Form is subject to the terms of the MIT License. | |
# If a copy of the MIT was not distributed with this file, | |
# You can obtain one at https://github.com/gogf/gf. | |
name: GolangCI-Lint | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- personal/** | |
- feature/** | |
- enhance/** | |
- fix/** | |
pull_request: | |
branches: | |
- master | |
- develop | |
- personal/** | |
- feature/** | |
- enhance/** | |
- fix/** | |
jobs: | |
golangci: | |
strategy: | |
matrix: | |
go-version: [ '1.20','1.21.4','1.22', '1.23' ] | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Golang ${{ matrix.go-version }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.60.1 | |
args: --timeout 3m0s |