all repos

x @ main

go extra()

x/.github/workflows/ci.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
is: add, 6 months ago
1
name: ci
2
on:
3
  workflow_dispatch:
4
  push:
5
    branches: [main]
6
    paths: ["**.go", "go.mod", "go.sum"]
7
  pull_request:
8
    paths: ["**.go", "go.mod", "go.sum"]
9
10
jobs:
11
  tests:
12
    runs-on: ubuntu-latest
13
    steps:
14
      - uses: actions/checkout@v5
15
16
      - name: setup go
17
        uses: actions/setup-go@v5
18
        with:
19
          go-version-file: go.mod
20
          cache-dependency-path: go.mod
21
22
      - name: test
23
        run: go test -v ./...