Implement MapKeyVal in Go for better interop #34
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: Lint | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
env: | |
GOEXPERIMENT: cgocheck2 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
cache: false | |
- name: Install deps | |
run: | | |
sudo apt-get update -yyqq | |
sudo apt-get install -yyqq python3-dev clang-format | |
- name: Go vet | |
run: | | |
go vet -unsafeptr=false ./... | |
- name: Clang format | |
run: | | |
clang-format --dry-run --Werror caddysnake.c caddysnake.h |