Skip to content

fix: preserve unknown wrangler config fields #27

fix: preserve unknown wrangler config fields

fix: preserve unknown wrangler config fields #27

Workflow file for this run

name: CI
on:
pull_request:
push:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Quality
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Verify formatting
shell: bash
run: |
unformatted="$(gofmt -l .)"
if [ -n "${unformatted}" ]; then
echo "The following files are not gofmt-formatted:"
echo "${unformatted}"
exit 1
fi
- name: Vet
run: go vet ./...
- name: Race test
run: go test -race ./...
- name: Build
run: go build ./...
build-matrix:
name: Build (${{ matrix.os }})
needs: quality
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Build
run: go build ./...