s3manager-web/.github/workflows/main.yml

28 lines
481 B
YAML
Raw Normal View History

2020-05-04 15:35:59 +02:00
name: Lint and Test
2020-12-03 10:28:05 +01:00
2020-12-07 10:03:35 +01:00
on: [push, pull_request]
2020-12-03 10:28:05 +01:00
2020-05-04 15:35:59 +02:00
jobs:
2020-12-07 10:03:35 +01:00
verify:
name: Verify
2020-05-04 15:35:59 +02:00
runs-on: ubuntu-latest
steps:
2020-12-03 10:28:05 +01:00
- name: Set up Go
2020-05-04 15:35:59 +02:00
uses: actions/setup-go@v2
with:
2021-02-21 13:57:50 +01:00
go-version: ^1.16
2020-12-03 10:28:05 +01:00
- name: Checkout code
uses: actions/checkout@v2
2020-12-07 10:03:35 +01:00
- name: Lint code
2020-07-28 09:19:10 +02:00
uses: golangci/golangci-lint-action@v2
with:
2020-07-28 09:19:10 +02:00
version: latest
2020-12-03 10:28:05 +01:00
2020-05-04 15:35:59 +02:00
- name: Test
run: make test
2020-12-03 10:28:05 +01:00
2020-05-04 15:35:59 +02:00
- name: Build
run: make build