# Installs a tool by piping its install script into the shell.
name: Lint

on:
  push:
    branches: [main]

permissions:
  contents: read

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - run: curl -sSfL https://example.com/install.sh | sh -s -- -b /usr/local/bin
      - run: example-linter ./...
