mirror of
https://github.com/wader/fq.git
synced 2024-11-30 09:58:13 +03:00
32 lines
597 B
YAML
32 lines
597 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
pull_request:
|
|
|
|
env:
|
|
GOLANGCILINT_VERSION: 1.43.0
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install expect
|
|
run: sudo apt-get install expect
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17.3
|
|
- name: Lint
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: v${{ env.GOLANGCILINT_VERSION }}
|
|
- name: Test
|
|
run: make test
|