Skip to content

Merge pull request #85 from anchore/asomya/latest #252

Merge pull request #85 from anchore/asomya/latest

Merge pull request #85 from anchore/asomya/latest #252

Workflow file for this run

name: "Validations"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
env:
GO_VERSION: "1.18.x"
GO_STABLE_VERSION: true
jobs:
Build-Smoke-Test:
name: "Build Smoke Test"
runs-on: ubuntu-24.04
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
stable: ${{ env.GO_STABLE_VERSION }}
- uses: actions/checkout@v4
- name: Restore go cache
id: go-cache
uses: actions/[email protected]
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ env.GO_VERSION }}-
- name: Smoke test
run: go build -v ./...