Files
gonic/.github/workflows/test.yaml
sentriz 658bae2b43 chore(build)!: bump to go 1.21
Release-As: 0.16.0
2023-09-10 16:16:23 +01:00

30 lines
707 B
YAML

name: Lint and test
on:
push:
branches:
- develop
pull_request:
jobs:
test:
name: Lint and test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Install dependencies
run: |
sudo apt update -qq
sudo apt install -y -qq build-essential git sqlite libtag1-dev ffmpeg mpv zlib1g-dev
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: --timeout=5m
install-mode: "goinstall"
- name: Test
run: go test ./...