{"id":20101290,"url":"https://github.com/crystal-ameba/github-action","last_synced_at":"2025-05-06T06:33:20.523Z","repository":{"id":36456381,"uuid":"221791341","full_name":"crystal-ameba/github-action","owner":"crystal-ameba","description":"A GitHub Action that lints Crystal code with Ameba","archived":false,"fork":false,"pushed_at":"2024-01-09T20:29:00.000Z","size":275,"stargazers_count":28,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T13:01:02.029Z","etag":null,"topics":["ameba","crystal","github-action","linter"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/crystal-ameba.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,"publiccode":null,"codemeta":null}},"created_at":"2019-11-14T21:39:09.000Z","updated_at":"2024-06-19T00:23:15.306Z","dependencies_parsed_at":"2024-06-19T00:23:12.599Z","dependency_job_id":"007b1df0-548b-44e1-a933-332311c1e7d6","html_url":"https://github.com/crystal-ameba/github-action","commit_stats":{"total_commits":58,"total_committers":5,"mean_commits":11.6,"dds":"0.12068965517241381","last_synced_commit":"4af519a45115cc43abba241a17e02c4a1c1bc0ce"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-ameba%2Fgithub-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-ameba%2Fgithub-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-ameba%2Fgithub-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crystal-ameba%2Fgithub-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crystal-ameba","download_url":"https://codeload.github.com/crystal-ameba/github-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224492714,"owners_count":17320344,"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":["ameba","crystal","github-action","linter"],"created_at":"2024-11-13T17:24:35.263Z","updated_at":"2025-05-06T06:33:20.516Z","avatar_url":"https://github.com/crystal-ameba.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crystal Ameba GitHub Action\n\nGitHub Action that lints Crystal shards with [Ameba](https://github.com/crystal-ameba/ameba) linter\n\n![](https://github.com/crystal-ameba/github-action/raw/master/assets/sample.png)\n\n## Usage\n\nAdd the following to your GitHub action workflow to use Crystal Ameba Linter:\n\n```yaml\n- name: Crystal Ameba Linter\n  uses: crystal-ameba/github-action@v0.12.0\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### Example Workflow\n\n```yaml\nname: Crystal CI\n\non: [push]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Install Crystal\n        uses: crystal-lang/install-crystal@v1\n\n      - name: Download source\n        uses: actions/checkout@v4\n\n      - name: Install dependencies\n        run: shards install\n\n      - name: Run tests\n        run: crystal spec\n\n      - name: Run Ameba Linter\n        uses: crystal-ameba/github-action@v0.12.0\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Compatibility Versions\n\n| Ameba version | GitHub Action version |\n|---------------|-----------------------|\n| ~\u003e v1.6.4     | v0.12.0               |\n| ~\u003e v1.6.3     | v0.11.0               |\n| ~\u003e v1.6.2     | v0.10.0               |\n| ~\u003e v1.6.1     | v0.9.0                |\n| ~\u003e v1.5.0     | v0.8.0                |\n| ~\u003e v1.4.0     | v0.7.1                |\n| v1.3.1        | v0.6.0                |\n| v1.2.0        | v0.5.1                |\n| v1.1.0        | v0.4.0                |\n| v1.0.1        | v0.3.1                |\n| v1.0.0        | v0.3.0                |\n| v0.14.3       | v0.2.12               |\n\n### Bump versions\n\n* Crystal version should be updated in `Dockerfile` file (version of the image).\n* Ameba version should be updated in `shard.yml`/`shard.lock` files.\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/crystal-ameba/github-action/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Vitalii Elenhaupt](https://github.com/veelenga) - creator and maintainer\n- [Sijawusz Pur Rahnama](https://github.com/Sija) - contributor and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystal-ameba%2Fgithub-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrystal-ameba%2Fgithub-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrystal-ameba%2Fgithub-action/lists"}