forked from palomachain/paloma
-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (36 loc) · 978 Bytes
/
ci-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on:
pull_request:
branches:
- "*"
jobs:
run_tests:
name: Running tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup gotestsum
uses: gertd/[email protected]
with:
gotestsum_version: 1.12.0
- name: Run tests
run: gotestsum --format short-verbose ./...
run_linters:
name: Running linters
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
cache: false
- name: Go lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.1
args: --verbose
# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
skip-cache: true