Skip to content

feat/ci: bump actions/setup-go to v5 #14

feat/ci: bump actions/setup-go to v5

feat/ci: bump actions/setup-go to v5 #14

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