Skip to content

build(devcontainer): update go and node (#1046) #1729

build(devcontainer): update go and node (#1046)

build(devcontainer): update go and node (#1046) #1729

Workflow file for this run

name: Go
on:
pull_request:
branches: [main]
push:
branches: [main]
tags: ['!*']
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
go-version:
- '1.19'
- '1.20'
- '1.21'
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Get dependencies
env:
GO111MODULE: on
run: |
sudo apt-get update
sudo apt-get install -y libaom-dev libwebp-dev
go mod download
- name: Test
env:
GO111MODULE: on
MANAEL_ENABLE_AVIF: true
run: |
mkdir -p cover
go test -race -coverprofile=coverage.txt -covermode=atomic -v
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Build
env:
GO111MODULE: on
run: make