32 lines
859 B
YAML
32 lines
859 B
YAML
name: "Lint Pull Request"
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint Pr Title
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.24.2
|
|
|
|
- name: Inspect the Action Directory (Debugging)
|
|
run: |
|
|
echo "Listing files in action directory:"
|
|
ls -l ./
|
|
|
|
- name: Set execute permissions (Attempt 1 - Relative Path)
|
|
run: chmod +x main.go.out
|
|
|
|
- name: Set execute permissions (Attempt 2 - Absolute Path)
|
|
run: chmod +x $(pwd)/main.go.out
|
|
|
|
- name: Set execute permissions (Attempt 3 - Explicit Path)
|
|
run: chmod +x /github/workspace/main.go.out #This is a path commonly used by actions, might work
|
|
|
|
- name: Run Pull Request Lint Action
|
|
uses: https://git.kjan.de/actions/pull-request-lint@main
|