Skip to content

Merge pull request #141 from yassinebenaid/dev #255

Merge pull request #141 from yassinebenaid/dev

Merge pull request #141 from yassinebenaid/dev #255

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions: read-all
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.21, 1.22, 1.23]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -race -cover ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Run golangci linters
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 #v6.1.1