Compare commits

...

3 Commits

Author SHA1 Message Date
spiritlhl
9a4e7dccca fix:删除不支持GO编译的架构条目
Some checks failed
创建IPv6检测的前缀 / fetch-ipv6-prefixes (push) Has been cancelled
2026-05-01 03:38:46 +00:00
spiritlhl
5bbd411a8e fix: 修复编译Action过时的问题 2026-05-01 03:30:59 +00:00
github-actions
d0c66a9d39 Update README.md with new tag v0.0.8-20260501031244 2026-05-01 03:12:45 +00:00
4 changed files with 10 additions and 13 deletions

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 检出代码 - name: 检出代码
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -7,15 +7,15 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
go: ['1.22.x'] go: ['stable']
os: [ubuntu-latest] os: [ubuntu-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2 uses: actions/setup-go@v5
with: with:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}

View File

@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: 'stable' go-version: 'stable'
@ -44,10 +44,10 @@ jobs:
needs: build needs: build
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: 'stable' go-version: 'stable'
@ -55,7 +55,7 @@ jobs:
run: | run: |
mkdir -p bin mkdir -p bin
cd cmd cd cmd
CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build \ CGO_ENABLED=0 GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} GOARM=${{ matrix.goarm }} go build \
-o ../bin/backtrace-${{ matrix.goos }}-${{ matrix.goarch }} \ -o ../bin/backtrace-${{ matrix.goos }}-${{ matrix.goarch }} \
-v \ -v \
-ldflags="-extldflags=-static -s -w" \ -ldflags="-extldflags=-static -s -w" \
@ -89,9 +89,6 @@ jobs:
goarch: amd64 goarch: amd64
- goos: windows - goos: windows
goarch: arm64 goarch: arm64
- goos: windows
goarch: arm
goarm: 7
- goos: darwin - goos: darwin
goarch: arm64 goarch: arm64
- goos: linux - goos: linux

View File

@ -75,7 +75,7 @@ rm -rf /usr/bin/backtrace
## 在Golang中使用 ## 在Golang中使用
``` ```
go get github.com/oneclickvirt/backtrace@v0.0.8-20251109090457 go get github.com/oneclickvirt/backtrace@v0.0.8-20260501031244
``` ```
## 概览图 ## 概览图