{"id":18475467,"url":"https://github.com/martinwitt/infer-train","last_synced_at":"2026-06-12T17:30:20.651Z","repository":{"id":63857169,"uuid":"570986855","full_name":"MartinWitt/infer-train","owner":"MartinWitt","description":"A github action to run infer for java code","archived":false,"fork":false,"pushed_at":"2024-04-22T11:27:36.000Z","size":528,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T12:45:36.144Z","etag":null,"topics":["github-action","github-action-docker","java","quarkus","static-analyzer"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MartinWitt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-11-26T19:30:20.000Z","updated_at":"2024-04-25T17:41:54.571Z","dependencies_parsed_at":"2023-12-16T01:29:43.061Z","dependency_job_id":"244f7dc7-8a67-41ef-92a1-e4c3063e1583","html_url":"https://github.com/MartinWitt/infer-train","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinWitt%2Finfer-train","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinWitt%2Finfer-train/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinWitt%2Finfer-train/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MartinWitt%2Finfer-train/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MartinWitt","download_url":"https://codeload.github.com/MartinWitt/infer-train/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240229980,"owners_count":19768597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-action","github-action-docker","java","quarkus","static-analyzer"],"created_at":"2024-11-06T10:34:33.970Z","updated_at":"2026-06-12T17:30:20.578Z","avatar_url":"https://github.com/MartinWitt.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infer-java-Action\n\nThis action runs the infer static analyzer on a Java project.\nThe infer static analyzer is a tool for Java, C and Objective-C, see https://fbinfer.com/.\n\n## Usage\n```yml\nrun-infer:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n        with:\n            fetch-depth: 0\n      - name : run infer action\n        uses: docker://ghcr.io/martinwitt/infer-train:master\n        with:\n            build-command: \"gradle compileJava\"\n            use-annotations: \"true\"\n```\n\nOptions:\n\n- `build-command` (required): The command to build the project.\n- `use-annotations` (optional): Whether to use the GitHub PR annotations. Default: `false`\n- `pr-mode` (optional): Whether to run infer in PR mode. Default: `false`\n\n## Motivation\n\nThe infer team sadly does not provide a docker image for Infer. This action is a workaround to run infer in a GitHub action.\nAlso, it was a great learning experience for me to write a GitHub action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinwitt%2Finfer-train","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinwitt%2Finfer-train","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinwitt%2Finfer-train/lists"}