Fastest

Integration Steps #

Follow these steps to integrate FASTEST with your GitHub repository:

1. Add Secret Key to GitHub #

  • Click Generate New Key in the FASTEST dashboard to create your secret key.
  • Go to your GitHub repository settings: Settings > Secrets and variables > Actions > Secrets.
Repository Settings
Secrets and Variables Actions
  • Click New repository secret.
New Repository Secret Button
  • Name it FASTEST_SECRET_KEY and paste your generated key.
New Secret Fields

2. Add Workflow Files #

  • Create a .github/workflows folder in your repository root (if it doesn't exist).
  • Copy the provided .yml workflow files from FASTEST into this folder.

3. Run the Workflow #

  • Push changes to an existing pull request or create a new pull request to trigger the workflow (depending on your workflow settings).
  • Monitor progress in the Actions tab on GitHub.

Example: GitHub Actions Workflow #

Below is a sample workflow file you might use (replace with the actual file provided by FASTEST):

name: FASTEST Analysis
on:
  pull_request:
    branches: [main]
jobs:
  analyze:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Run FASTEST
        uses: fastest-ai/fastest-action@v1
        env:
          FASTEST_SECRET_KEY: ${{ secrets.FASTEST_SECRET_KEY }}