Skip to content

v1.5 Release - Podman 🥳 #79

v1.5 Release - Podman 🥳

v1.5 Release - Podman 🥳 #79

Workflow file for this run

name: Build and test on ubuntu and mac
on:
workflow_dispatch:
pull_request:
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-13]
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.os == 'ubuntu-20.04' }}
with:
packages: dia libbtrfs-dev libgpgme-dev
version: 1.0
- name: install mac os deps
if: ${{ matrix.os == 'macos-13' }}
run: brew install gpgme
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Build
run: go build .
- name: Test
run: go test ./...