Skip to content

Commit

Permalink
fix: license checker
Browse files Browse the repository at this point in the history
  • Loading branch information
liuq19 committed Jan 20, 2025
1 parent c30537f commit 3f112c0
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 38 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
steps:
- uses: actions/checkout@v3

# - name: Check License Header
# uses: apache/skywalking-eyes/header@v0.4.0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check License Header
uses: apache/skywalking-eyes/header@v0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

#- name: Check Spell
# uses: crate-ci/typos@master
- name: Check Spell
uses: crate-ci/typos@master

staticcheck:
runs-on: [ self-hosted, X64 ]
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/release-check.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
unit-benchmark-test:
strategy:
matrix:
go: [ "1.18", "1.19", "1.20" ]
go: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x, 1.23.x]
os: [ X64 ]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -21,4 +21,4 @@ jobs:
run: go test -race -covermode=atomic -coverprofile=coverage.out ./...

- name: Benchmark
run: go test -bench=. -benchmem -run=none ./...
run: cd ./bench && go test -bench=. -benchmem -run=none ./...
4 changes: 2 additions & 2 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ header:
- '**/*.s'

paths-ignore:
- 'native_subr_amd64.go'
- 'native_text_amd64.go'
- 'internal/native/avx2/*.go'
- 'internal/native/sse/*.go'

comment: on-failure
2 changes: 1 addition & 1 deletion bench/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module bench

go 1.22.0
go 1.16

require (
github.com/cloudwego/base64x v0.1.4
Expand Down
6 changes: 6 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ require (
github.com/klauspost/cpuid/v2 v2.0.9
github.com/stretchr/testify v1.8.1
)

require (
github.com/cloudwego/iasm v0.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ github.com/bytedance/sonic/loader v0.1.1 h1:c+e5Pt1k/cy5wMveRDyk2X4B9hF4g7an8N3z
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg=
github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY=
github.com/cristalhq/base64 v0.1.2 h1:edsefYyYDiac7Ytdh2xdaiiSSJzcI2f0yIkdGEf1qY0=
github.com/cristalhq/base64 v0.1.2/go.mod h1:sy4+2Hale2KbtSqkzpdMeYTP/IrB+HCvxVHWsh2VSYk=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down

0 comments on commit 3f112c0

Please sign in to comment.