# This workflow will do a fetch the latest configlet binary and lint this repository.

name: configlet

on:
  workflow_dispatch:
  push:
    branches:
      - main
      - master
  pull_request:

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Fetch configlet
        uses: exercism/github-actions/configlet-ci@master

      - name: Configlet Linter
        run: configlet lint .

# This workflow will do a fetch the latest configlet binary and lint this repository.

name: configlet

on:
  workflow_dispatch:
  push:
    branches:
      - main
      - master
  pull_request:

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2

      - name: Fetch configlet
        uses: exercism/github-actions/configlet-ci@main

      - name: Configlet Linter
        run: configlet lint .

Use main branch for Exercism GitHub Actions
[v3] Use main branch for Exercism GitHub Actions
