Skip to content

feat: add llms-txt command, llms.txt, and agent skill for LLM friendl… #147

feat: add llms-txt command, llms.txt, and agent skill for LLM friendl…

feat: add llms-txt command, llms.txt, and agent skill for LLM friendl… #147

Workflow file for this run

name: CI
on:
push:
pull_request:
env:
__RCLONE_VERSION: v1.68.2
jobs:
test:
name: Go ${{ matrix.go }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
go: ["1.x"]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: ${{ matrix.go }}
cache: true
- name: Cache rclone
id: cache-rclone
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ~/.local/bin/rclone
key: rclone-${{ env.__RCLONE_VERSION }}-${{ runner.os }}-${{ runner.arch }}
- name: Install rclone
if: steps.cache-rclone.outputs.cache-hit != 'true'
run: bash scripts/install-rclone.sh
- name: Add rclone to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Format check
run: test -z "$(gofmt -l .)"
- name: Unit and integration tests
run: go test ./...
- name: Build
run: go build ./cmd/git-sfs
- name: Workflow suite
run: bash test/workflows/run.sh