Skip to content

Extract and recompose functions: first, rest to extract, defun #106

Extract and recompose functions: first, rest to extract, defun

Extract and recompose functions: first, rest to extract, defun #106

Workflow file for this run

name: Release
on:
push:
tags:
# so a vX.Y.Z-test1 doesn't trigger build - no ancho working yet first one doesn't match -test1 (!)
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-pre[0-9]*'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v3
with:
fetch-depth: 0
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # pin@v1
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # pin@v1
- name: Set up Go
uses: actions/setup-go@v5 # pin@v3
with:
go-version: '1.22'
check-latest: true
- name: Log in to Docker
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # pin@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_PAT }}
- name: "GoReleaser Action"
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # pin@v6.0.0
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
TAP_DESCRIPTION: "Go Repl Open Language: simple, small but powerful interpreted language in Go"