Skip to content

Draft: Fuse routes interface #23

Draft: Fuse routes interface

Draft: Fuse routes interface #23

Workflow file for this run

name: pkg - CI
on:
pull_request:
branches:
- main
paths:
- pkg/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
changed:
name: Prepare
uses: ./.github/workflows/changes.yml
with:
path: pkg
test:
name: Test (${{ matrix.module }})
needs: [changed]
runs-on: ubuntu-latest
if: needs.changed.outputs.any_changed == 'true'
strategy:
matrix:
go-version: ['1.21.x']
module: ${{ fromJSON(needs.changed.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: pkg/${{ matrix.module }}/go.sum
- name: Test
working-directory: pkg/${{ matrix.module }}
run: go test ./...