Skip to content

Bump reviewdog/action-golangci-lint from 2.0.3 to 2.7.0 #1015

Bump reviewdog/action-golangci-lint from 2.0.3 to 2.7.0

Bump reviewdog/action-golangci-lint from 2.0.3 to 2.7.0 #1015

Workflow file for this run

name: Testing
on:
pull_request:
push:
branches:
- main
tags:
- v*
env:
ENV: test
jobs:
test:
strategy:
matrix:
go-version:
- 1.14.x
- 1.15.x
- 1.16.x
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Golang
uses: actions/[email protected]
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v2
- name: Restore Cache
uses: actions/[email protected]
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install Dependencies (linux)
if: matrix.platform == 'ubuntu-latest'
run: sudo apt update && sudo apt install -y --no-install-recommends libvlc-dev
- name: Run Go Tests
run: go test ./...