Provide API for getting all map specs (#202) #275
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./..." |