Skip to content

Conversation

@colindean
Copy link
Contributor

I noted in CI run https://github.com/target/make-python-devex/actions/runs/9387484385/job/25850507307 that the Makefile pre-commit check was picking up makefile.yml as a Makefile. This rename avoids that.

Makefile linter/analyzer.................................................Failed
- hook id: checkmake
- exit code: 6

RULE                 DESCRIPTION                       FILE NAME              LINE NUMBER  
                                                                                                 
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "all"                                                                          
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "clean"                                                                        
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "test"                                                                         
  phonydeclared   Target "name" should be          .github/workflows/makefile.yml   1            
                  declared PHONY.                                                                
  phonydeclared   Target "on" should be declared   .github/workflows/makefile.yml   3            
                  PHONY.                                                                         
  phonydeclared   Target "jobs" should be          .github/workflows/makefile.yml   9            
                  declared PHONY.

…collision

I noted in CI run https://github.com/target/make-python-devex/actions/runs/9387484385/job/25850507307 that the Makefile pre-commit check was picking up makefile.yml as a Makefile. This rename avoids that.

```
Makefile linter/analyzer.................................................Failed
- hook id: checkmake
- exit code: 6

RULE                 DESCRIPTION                       FILE NAME              LINE NUMBER  
                                                                                                 
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "all"                                                                          
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "clean"                                                                        
  minphony        Missing required phony target    .github/workflows/makefile.yml   0            
                  "test"                                                                         
  phonydeclared   Target "name" should be          .github/workflows/makefile.yml   1            
                  declared PHONY.                                                                
  phonydeclared   Target "on" should be declared   .github/workflows/makefile.yml   3            
                  PHONY.                                                                         
  phonydeclared   Target "jobs" should be          .github/workflows/makefile.yml   9            
                  declared PHONY.

```
@colindean colindean merged commit 22fccc9 into main Jun 7, 2024
@colindean colindean deleted the rename-make-ci-for-precommit branch June 7, 2024 20:58
colindean added a commit that referenced this pull request Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants