Skip to content

chore(release): 0.3.1 #132

chore(release): 0.3.1

chore(release): 0.3.1 #132

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
quality:
name: Quality
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
with:
experimental: true
install_args: --locked
- name: Check Go formatting
run: mise run fmt-check
- name: Check non-Go formatting
run: mise run oxfmt-check
- name: Check module tidiness
run: mise run tidy-check
- name: Run go vet
run: mise run vet
- name: Run golangci-lint
run: mise run lint
- name: Lint GitHub Actions workflows
run: mise run actionlint
- name: Audit GitHub Actions workflows
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mise run zizmor
test:
name: Test
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
with:
experimental: true
install_args: --locked
- name: Run tests
run: mise run test
- name: Run govulncheck
run: mise run vulncheck
wasm:
name: WASM build
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
with:
experimental: true
install_args: --locked
- name: Build and validate WASM
run: mise run build
container:
name: Container build
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
with:
cache: false
experimental: true
install: false
- name: Resolve toolchain versions
id: versions
run: |
echo "go=$(mise config get tools.go)" >> "$GITHUB_OUTPUT"
- name: Set up Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
- name: Build container
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
push: false
tags: eep:test
build-args: |
GO_VERSION=${{ steps.versions.outputs.go }}
VERSION=test
REVISION=${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
envoy:
name: Envoy smoke test
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Mise
uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0
with:
experimental: true
install_args: --locked
- name: Run Envoy smoke test
run: mise run smoke