Skip to content

Don't mix anon func scope and receiver vars #92

Don't mix anon func scope and receiver vars

Don't mix anon func scope and receiver vars #92

Workflow file for this run

name: ci
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.22'
- uses: gacts/install-hurl@v1
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Run Hurl Tests
run: ./test/exec.sh
- name: Build binaries for all platforms
run: .github/workflows/release.sh
- uses: actions/upload-artifact@v3
with:
name: xtemplate-dist
path: 'dist/*'
- name: Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: 'dist/*'