Skip to content

chore: update workflow #3

chore: update workflow

chore: update workflow #3

Workflow file for this run

name: build
on:
push:
branches:
- main
workflow_dispatch:
inputs:
reason:
description: "Reason for manual trigger"
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
uses: actions/setup-go@v5
with:
go-version: "1.23.0"
- name: install
run: make install
- name: audit
run: make audit
- name: build
run: make build
- name: artifact
uses: actions/upload-artifact@master
with:
name: brownie
path: tmp/bin/brownie
test:
needs: build
runs-on: ubuntu-latest
steps:
- name: node
uses: actions/setup-node@v4
with:
node_version: 20.9.0
- name: tap
run: npm install tap
- name: oci
run: |
git clone --depth=1 https://github.com/opencontainers/runtime-tools.git . \
&& make runtimetest validation-executables
- name: artifact
uses: actions/download-artifact@master
with:
name: brownie
path: tmp/bin/brownie
- name: test
run: |
make RUNTIME=tmp/bin/brownie localvalidation