Skip to content

Merge pull request #60 from yoursunny/ci #105

Merge pull request #60 from yoursunny/ci

Merge pull request #60 from yoursunny/ci #105

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest]
fail-fast: false
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Go imports check
uses: zjkmxy/[email protected]
with:
run: imports
token: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: go test ./...
env:
CGO_ENABLED: 0