Skip to content

Install necessary packages for tests to succeed. #8

Install necessary packages for tests to succeed.

Install necessary packages for tests to succeed. #8

Workflow file for this run

name: test
on:
push:
branches: [ master ]
paths:
- '.github/workflows/test.yml'
- '**.go'
- 'go.*'
pull_request:
branches: [ master ]
paths:
- '.github/workflows/test.yml'
- '**.go'
- 'go.*'
permissions:
contents: read
jobs:
go:
strategy:
matrix:
go-version:
- "1.21"
- "1.22"
- "1.23"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install libheif-dev libheif-plugin-x265 libheif-plugin-aomenc libheif-plugin-aomdec
- name: Run tests
run: |
go test -v ./...