Skip to content

feat(decode): Apple 解析数据后存储凭证原始数据,有助于查验结构体数据一致性 #284

feat(decode): Apple 解析数据后存储凭证原始数据,有助于查验结构体数据一致性

feat(decode): Apple 解析数据后存储凭证原始数据,有助于查验结构体数据一致性 #284

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Run Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: -v --disable=unused
test:
needs: lint
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
go: [ '1.21', '1.22' , '1.23' ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test -v