File tree Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Original file line number Diff line number Diff line change @@ -15,30 +15,8 @@ repos:
1515 - id : runic
1616 additional_dependencies :
1717 -
' [email protected] ' # Keep version in sync with .github/workflows/Check.yml18-
19- explicit-imports :
20- runs-on : ubuntu-latest
21- name : " ExplicitImports.jl"
22- steps :
23- - uses : actions/checkout@v4
24- - uses : julia-actions/setup-julia@v2
25- with :
26- version : ' nightly'
27- - uses : julia-actions/cache@v2
28- - uses : julia-actions/julia-buildpkg@v1
29- - name : Install dependencies
30- shell : julia {0}
31- run : |
32- # Add ExplicitImports.jl
33- using Pkg
34- Pkg.add([
35- PackageSpec(name = "ExplicitImports", version = "1.12"),
36- ])
37- - name : ExplicitImports.jl code checks
38- shell : julia --project {0}
39- run : |
40- using Pkg, ExplicitImports
41- check_no_implicit_imports(Pkg)
42- # check_no_stale_explicit_imports(Pkg) # artifact_names in PkgArtifacts
43- check_all_qualified_accesses_via_owners(Pkg)
44- check_no_self_qualified_accesses(Pkg)
18+ - repo : https://github.com/JuliaTesting/ExplicitImports.jl
19+ rev : v1.13.0
20+ hooks :
21+ - id : explicit-imports
22+ args : [--print, --checklist, "exclude_all_qualified_accesses_are_public"]
You can’t perform that action at this time.
0 commit comments