Create customizable template dot context system #113
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/*' |