Skip to content

Merge pull request #16 from apptainer/dependabot/go_modules/github.co… #45

Merge pull request #16 from apptainer/dependabot/go_modules/github.co…

Merge pull request #16 from apptainer/dependabot/go_modules/github.co… #45

name: golang-build-test
on:
push:
branches:
- master
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test ./...