Skip to content

Merge pull request #177 from dabradley/personal/dabradley/trivy-on-de… #448

Merge pull request #177 from dabradley/personal/dabradley/trivy-on-de…

Merge pull request #177 from dabradley/personal/dabradley/trivy-on-de… #448

Workflow file for this run

name: Linux Tests
# Controls when the workflow will run
on:
pull_request: {}
push: {}
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.23'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Run unit test
run: |
export PATH=$PATH:$HOME/.local/bin
sudo apt-get update
make verify
- name: Run build test
run: |
export PATH=$PATH:$HOME/.local/bin
make
- name: Make container test
run: |
export PATH=$PATH:$HOME/.local/bin
make container
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Get code coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github