32 lines
656 B
YAML
32 lines
656 B
YAML
name: test
|
|
run-name: ${{ gitea.actor }} test MouseSoft Config
|
|
on: push
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: check-out
|
|
uses: https://gitea.com/actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
|
|
- name: set-up go
|
|
uses: https://gitea.com/actions/setup-go@v3
|
|
with:
|
|
go-version: ">=1.24"
|
|
|
|
- name: set-up dependencies
|
|
run: |
|
|
make vendor
|
|
|
|
- name: golangci-lint
|
|
uses: https://github.com/golangci/golangci-lint-action@v7
|
|
with:
|
|
version: v2.0.2
|
|
|
|
- name: test
|
|
id: build
|
|
run: make test
|