fix(deps): update github.com/kbinani/screenshot digest to a8a2c5d #2407
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go: | |
- '1.21' # oldest version this package supports | |
- '1.22' # oldstable Go version | |
- '1.23' # stable Go version | |
name: Linux Go ${{ matrix.go }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -qq \ | |
&& sudo apt-get install --no-install-recommends -y \ | |
libopus-dev \ | |
libva-dev \ | |
libvpx-dev \ | |
libx264-dev | |
- name: Run Test Suite | |
run: make test | |
- uses: codecov/codecov-action@v4 | |
if: matrix.go == '1.23' | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
build-darwin: | |
strategy: | |
fail-fast: false | |
matrix: | |
go: | |
- '1.22' | |
- '1.23' | |
runs-on: macos-latest | |
name: Darwin Go ${{ matrix.go }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install dependencies | |
run: | | |
which brew | |
brew install \ | |
pkg-config \ | |
opus \ | |
libvpx \ | |
x264 | |
- name: Run Test Suite | |
run: make test | |
check-licenses: | |
runs-on: ubuntu-latest | |
name: Check Licenses | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
- name: Installing go-licenses | |
run: go install github.com/google/go-licenses@latest | |
- name: Checking licenses | |
run: go-licenses check ./... |