build(deps): update docker/setup-buildx-action digest to 6524bf6 (#1363) #2465
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: Go | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
tags: ['!*'] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
go-version: | |
- '1.21' | |
- '1.22' | |
- '1.23' | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Get dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libaom-dev libwebp-dev | |
go mod download | |
- name: Test | |
env: | |
MANAEL_ENABLE_AVIF: true | |
run: | | |
mkdir -p cover | |
go test -race -coverprofile=coverage.txt -covermode=atomic -v | |
- uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Build | |
run: make |