Skip to content

use 1.23 iter for tests #552

use 1.23 iter for tests

use 1.23 iter for tests #552

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
deployments: write
jobs:
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Lint README
run: |
deno fmt --check ./README.md
build:
strategy:
matrix:
go: ["1.23"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m
skip-cache: true
skip-pkg-cache: true
skip-build-cache: true
- name: Install go pkgs
run: |
make install
- name: Run coverage
run: go test -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
- name: Bench
run: make bench | tee benchmark_result.txt