Skip to content

Remove fixed db path from containerfile #11

Remove fixed db path from containerfile

Remove fixed db path from containerfile #11

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@v4
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@v4
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 ./...