Skip to content

Create customizable template dot context system #113

Create customizable template dot context system

Create customizable template dot context system #113

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: Run Go Tests
run: go test -v ./...
- name: Run Integration Tests
run: go run ./test
- 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/*'