Skip to content

cleanup: update CI

cleanup: update CI #13

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request_target:
branches: [ "main" ]
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Install dependencies
run: |
apt-get update
apt-get install -y make
- name: Build
run: make
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Install test dependencies
run: |
apt-get update
apt-get install -y build-essential make sqlite3
- name: Test
run: |
go test -v ./...