Skip to content

Commit

Permalink
Merge main into sweep/gh-actions-failure_2
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 30, 2023
2 parents df98944 + 41d6272 commit e521c74
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Setup

on: [push, pull_request]

jobs:
setup:
runs-on: ubuntu-latest

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

- name: Install go-gitlint
run: |
go install github.com/llorllale/go-gitlint/cmd/go-gitlint@latest
mkdir -p ./_output/tools/
cp $(go env GOPATH)/bin/go-gitlint ./_output/tools/
- name: Setup Git hooks
run: |
cp scripts/githooks/commit-msg .git/hooks/
cp scripts/githooks/pre-commit .git/hooks/
- name: Add files
run: git add .

0 comments on commit e521c74

Please sign in to comment.