Skip to content

Merge pull request #48 from openvex/dependabot/github_actions/golangc… #115

Merge pull request #48 from openvex/dependabot/github_actions/golangc…

Merge pull request #48 from openvex/dependabot/github_actions/golangc… #115

# Copyright 2023 The OpenVEX Authors
# SPDX-License-Identifier: Apache-2.0
name: ci-build-test
on:
push:
branches:
- "main"
pull_request:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.19'
check-latest: true
cache: true
- name: build
run: make pkg
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.19'
check-latest: true
cache: true
- name: test
run: make test