Comments (6)
It works for me.
# ...
- repo: https://github.com/Freed-Wu/actionlint
rev: v1.6.25
hooks:
- id: actionlint
$ pre-commit run -a
[INFO] Initializing environment for https://github.com/Freed-Wu/actionlint.
...
Lint GitHub Actions workflow files............................................Passed
...
Environments:
$ go version
go version go1.20.4 linux/amd64
$ uname -r
6.3.2-arch1-1
from actionlint.
@Freed-Wu Please, I already told you in #301: The v1.6.25
tag of your fork does not include your change to golang
. You are not testing what you think you do.
from actionlint.
#297 (comment) This comment is written before #301 (comment), at that time, I haven't known this bug. Now it should be fixed.
from actionlint.
pre-commit runs go install ./..., but this fails in the actinolint repo.
It looks a problem of pre-commit. The package path ./...
should be configurable in pre-commit side. Changing main
package path means largely changing package structure of this repository. It affects all packages which is using actionlint as Go library. It should not be changed only for avoiding the problem of pre-commit.
from actionlint.
I may be able to add some build tag to excluding the Wasm package.
from actionlint.
I added //go:build wasm
tag to the module under playground directory. Now go install ./...
should work.
from actionlint.
Related Issues (20)
- Action lint fails occasionally - fatal error: concurrent map writes HOT 6
- No labels for Larger Hosted Runners HOT 2
- Actionlint does not alert on a mis-terminated expression for `if`
- Warning if explicit shell is not set HOT 2
- Support glob/regex patterns for self hosted runner labels configuration HOT 1
- Support validation of the inputs passed in the with block
- [BUG] `timeout-minutes` should allow expressions (but it demands `floats`) HOT 3
- Feature Request: checking workflow inputs for Untrusted input HOT 1
- Support tsc to check actions/github-script steps HOT 1
- Feature request: Require job name
- feature request: detect invalid reference to a workflow file HOT 1
- support macOS-14 runs on HOT 3
- Feature request: Allow usage of .shellcheckrc HOT 6
- Disallow usage of `>-`, which is not supported by GitHub actions HOT 5
- Release recent changes HOT 1
- Composite actions support? HOT 4
- False Positive On fromJson in services Mapping Nodes
- Failed on "google-github-actions/get-secretmanager-secrets" HOT 7
- v1.6.27 Actionlint do not recognising outputs from google-github-actions/get-secretmanager-secrets@v2 HOT 1
- Seems like actionlint lack support to detect when we call reusable workflow in the main workflow. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actionlint.