build(deps): update docker/build-push-action digest to b32b51a #2487
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@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Build | |
run: make |