Skip to content

ci: init

ci: init #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: arduino/setup-task@v2
with:
version: 3.x
- name: Build
run: task build:debug
env:
BUILD_VERSION: "ci-${{ github.run_number }}"
BUILD_COMMIT: "${{ github.sha }}"
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: arduino/setup-task@v2
with:
version: 3.x
- name: Run tests
run: task test