Skip to content

wait on simver

wait on simver #1

Workflow file for this run

{
name: wait-on-simver,
concurrency:
{ group: "wait-on-simver-${{github.ref}}", cancel-in-progress: false },
permissions: { id-token: write, contents: read },
on: { workflow_dispatch: null, workflow_call: {}, push: { branches: "*" } },
defaults: { run: { shell: bash } },
jobs:
{
simver:
{
runs-on: ubuntu-latest,
steps:
[
{
name: checkout code,
uses: "actions/checkout@v4",
with: { fetch-depth: 0 },
},
{
name: setup golang,
uses: "actions/setup-go@v4",
with: { go-version: 1.21.4 },
},
{
name: install simver,
run: "go install github.com/walteh/simver/cmd/wait_on_simver_github_actions@v0.22.0",
},
{
name: run simver,
id: simver,
env:
{
SIMVER_WAIT: "2m",
SIMVER_INTERVAL: "10s",
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}",
},
run: wait_on_simver_github_actions,
},
],
},
},
}