Skip to content

Merge pull request #94 from openvex/dependabot/github_actions/golangc… #219

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

Merge pull request #94 from openvex/dependabot/github_actions/golangc… #219

# 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "1.22"
check-latest: true
cache: true
- name: build
run: make pkg
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "1.22"
check-latest: true
cache: true
- name: test
run: make test