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

21 lines
438 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:
2020-05-04 15:35:59 +02:00
runs-on: ubuntu-latest
steps:
2022-03-16 14:38:08 +01:00
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.18"
- name: Checkout repo
uses: actions/checkout@v3
- name: Lint code
uses: golangci/golangci-lint-action@v3
- name: Run tests
run: make test
- name: Build application
run: make build