Skip to content

Merge pull request #2 from thg-ice/run-test-on-one-node #5

Merge pull request #2 from thg-ice/run-test-on-one-node

Merge pull request #2 from thg-ice/run-test-on-one-node #5

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Get dependencies
run: go mod download
- name: Test
run: go test -v ./...
- name: Build
run: cd cmd/storage-check && go build -v