Skip to content

Refactor static file ingest, part 1 #17

Refactor static file ingest, part 1

Refactor static file ingest, part 1 #17

Workflow file for this run

name: ci
on:
push:
branches: [ "master" ]
tags: [ "v**" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- run: go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
- uses: gacts/install-hurl@v1
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Hurl Tests
run: ./integration/run.sh
- run: go build -o xtemplate ./cmd
- run: xcaddy build --with github.com/infogulch/xtemplate/caddy=./caddy
- uses: actions/upload-artifact@v3
with:
name: xtemplate
path: xtemplate