summaryrefslogtreecommitdiff
path: root/.github/workflows/go.yml
blob: ccb5ee308ae5a480bc69c081ed3a8a53ee6e9343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This workflow will test a golang project
name: Test Go

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

jobs:

  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4

    - name: Set up Go
      uses: actions/setup-go@v4
      with:
        go-version: '1.25.4'
    - name: Install dependencies
      run: go get .
    - name: Test
      run: go test -v ./...