Compare commits

...

3 Commits
main ... main

Author SHA1 Message Date
Ivan Pepelyaev
956e82678f return to prev
Some checks reported warnings
release-nightly / release-image (push) Has been cancelled
release-nightly / goreleaser (push) Has been cancelled
checks / check and test (push) Successful in 2m30s
2023-09-19 17:41:40 +03:00
Ivan Pepelyaev
4b405c69a8 replace alt-latest with alt-node-latest 2023-09-11 16:14:37 +03:00
34723493c2 add test for ALT 2023-08-11 23:47:56 +03:00

View File

@ -0,0 +1,38 @@
name: checks
on:
- push
- pull_request
env:
GOPATH: /go_path
GOCACHE: /go_cache
jobs:
lint:
name: check and test
runs-on: alt-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '>=1.21.0'
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
id: hash-go
with:
patterns: |
go.mod
go.sum
- name: cache go
id: cache-go
uses: https://github.com/actions/cache@v3
with:
path: |
/go_path
/go_cache
key: go_path-${{ steps.hash-go.outputs.hash }}
- name: vet checks
run: make vet
- name: build
run: make build
- name: test
run: make test