Skip to content

Commit

Permalink
feat: Install go-gitlint in GitHub Actions workflo
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 27, 2023
1 parent 5a85b33 commit ff75477
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Main Workflow

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install make
run: sudo apt-get install make

- name: Install go-gitlint
run: make tools

- name: Run commit-msg hook
run: git commit -m "test: this commit is allowed file sizes up to 50MB"

0 comments on commit ff75477

Please sign in to comment.