Skip to content

Implement basic ordered map (#2) #6

Implement basic ordered map (#2)

Implement basic ordered map (#2) #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
# cancel in progress when a new commit is pushed
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: 1.26.1
- name: Download deps
run: go mod download
- name: Vet
run: go vet ./...
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
lint:
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: 1.26.1
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.11.4