Skip to content

Merge pull request #17 from debfx/dependabot/github_actions/actions/s… #98

Merge pull request #17 from debfx/dependabot/github_actions/actions/s…

Merge pull request #17 from debfx/dependabot/github_actions/actions/s… #98

Workflow file for this run

name: Go
on: [ push, pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go_version: [ '1.18', '^1.18' ]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go_version }}
- name: Install package dependencies
run: |
sudo apt-get update
sudo apt-get install -y libseccomp-dev
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...