Bump reviewdog/action-golangci-lint from 2.0.3 to 2.7.0 #1015
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... |