mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
One label per runner, spelled <os>-<arch>. The aliases these jobs named were removed, and a job naming a label no runner carries waits instead of failing. Co-authored-by: Hanzo Dev <[email protected]>
36 lines
921 B
YAML
36 lines
921 B
YAML
name: Release
|
|
|
|
# The EVM tag is the plugin source consumed by node's single image build. It
|
|
# does not publish a second Docker image: node clones this exact tag, builds the
|
|
# plugin, checks node/plugin API agreement, and publishes the deployable image.
|
|
on:
|
|
push:
|
|
tags: ['v*']
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
# A corrective plugin tag replaces one still being verified. Only the newest
|
|
# immutable source tag needs to consume the release runner.
|
|
concurrency:
|
|
group: release-${{ github.repository }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
verify:
|
|
runs-on: [linux-amd64]
|
|
timeout-minutes: 60
|
|
env:
|
|
GOWORK: off
|
|
CGO_ENABLED: '0'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
cache: false
|
|
- run: go test ./... -count=1
|
|
- run: ./scripts/build.sh
|
|
- run: test -x build/evm
|