Skip to content

Provide API for getting all map specs (#202) #274

Provide API for getting all map specs (#202)

Provide API for getting all map specs (#202) #274

Workflow file for this run

name: ci
on: [push]
jobs:
test:
name: "run tests"
strategy:
fail-fast: false
matrix:
go: [ "1.21", "1.22" ]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y llvm
clang --version
llc --version
- name: build examples
working-directory: examples
run: |
TARGET=bin/main make all
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
skip-pkg-cache: true
- name: staticcheck
uses: dominikh/[email protected]
with:
version: "2023.1.6"
install-go: false
cache-key: ${{ matrix.go }}
- run: "go test -exec sudo ./..."