1
1
mirror of https://github.com/wader/fq.git synced 2024-12-25 14:23:18 +03:00
fq/.github/workflows/ci.yml

32 lines
597 B
YAML
Raw Normal View History

2020-06-08 03:29:51 +03:00
name: CI
on:
push:
branches:
- "master"
2020-06-08 03:29:51 +03:00
pull_request:
env:
GOLANGCILINT_VERSION: 1.43.0
2020-06-08 03:29:51 +03:00
jobs:
ci:
runs-on: ubuntu-latest
steps:
2021-09-18 19:11:51 +03:00
- name: Install expect
run: sudo apt-get install expect
2020-06-08 03:29:51 +03:00
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.17.5
2020-06-08 03:29:51 +03:00
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: v${{ env.GOLANGCILINT_VERSION }}
- name: Test
run: make test