Skip to content

update golangci-lint #2002

update golangci-lint

update golangci-lint #2002

Workflow file for this run

name: test
on:
push:
branches: [ main, v4 ]
pull_request:
branches: [ main, v4 ]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.20", "1.21", "1.22"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- run: sudo apt update && sudo apt install -y libavformat-dev libswscale-dev
- run: make test-nodocker
- if: matrix.go == '1.22'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
test_highlevel:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.22"
- run: make test-highlevel-nodocker
test32:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: make test32