0f374b1d10
CI / check-and-test (pull_request) Failing after 43s
Keep setup-ffmpeg and Go 1.25.4; add golangci-lint matching steamcache2.
26 lines
563 B
YAML
26 lines
563 B
YAML
name: CI
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
check-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- uses: FedericoCarboni/setup-ffmpeg@v3
|
|
- run: go mod tidy
|
|
- run: go build ./...
|
|
- run: go vet ./...
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v8
|
|
with:
|
|
version: v2.12
|
|
args: --timeout=5m
|
|
- run: go test -race -v -shuffle=on ./...
|