mirror of
https://github.com/Maronato/go-finger.git
synced 2026-05-05 04:16:19 +02:00
33 lines
514 B
YAML
33 lines
514 B
YAML
name: Go
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "1.21"
|
|
cache: false
|
|
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
version: v1.54
|
|
|
|
- name: build
|
|
run: make build
|
|
|
|
- name: test
|
|
run: make test
|