Skip to content

ci: add actions

ci: add actions #9

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Set up deps
run: |
sudo apt-get install -y gcc flex bison make libelf-dev
- name: Build
run: make build
- name: Test
run: go test -v ./...