{"id":20910094,"url":"https://github.com/viperproject/gobra-action","last_synced_at":"2025-05-13T07:31:31.457Z","repository":{"id":38839099,"uuid":"412459751","full_name":"viperproject/gobra-action","owner":"viperproject","description":"Github Action to verify Go code with Gobra directly in a CI workflow","archived":false,"fork":false,"pushed_at":"2024-04-19T09:51:39.000Z","size":73,"stargazers_count":2,"open_issues_count":5,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-31T10:49:51.340Z","etag":null,"topics":["actions","formal-verification","github-actions","go","golang","verification"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viperproject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-10-01T12:37:37.000Z","updated_at":"2022-05-20T08:55:30.000Z","dependencies_parsed_at":"2024-02-21T14:25:06.726Z","dependency_job_id":"ba491fab-4669-4343-a35f-353813101f58","html_url":"https://github.com/viperproject/gobra-action","commit_stats":{"total_commits":71,"total_committers":4,"mean_commits":17.75,"dds":0.5633802816901409,"last_synced_commit":"efb0353f03e7ef3aa110bdc340d6e3f1fd87b6eb"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fgobra-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fgobra-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fgobra-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viperproject%2Fgobra-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viperproject","download_url":"https://codeload.github.com/viperproject/gobra-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225188044,"owners_count":17434991,"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":["actions","formal-verification","github-actions","go","golang","verification"],"created_at":"2024-11-18T14:13:52.985Z","updated_at":"2024-11-18T14:13:53.630Z","avatar_url":"https://github.com/viperproject.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gobra Action\n\nThis action adds Gobra to the CI Workflow of Go projects.\n\n## Usage\n\nSee [action.yml](./action.yml)\n\n## Examples\n\n### Simple set-up without caching\n\n```yaml\nuses: viperproject/gobra-action@main\n  with:\n    caching: 0\n    javaXss: 64m\n    globalTimeout: 1h\n    packageTimeout: 10m\n    projectLocation: go\n```\n\n### Set-up with caching\n\nThis configuration shows how to set-up the Gobra Action to store the verification results in  `${{ runner.workspace }}/.gobra/cache.json`. This file is loaded on subsequent runs of the Gobra Action and all cached verification results will not be  re-computed.\n\n```yaml\n- name: Cache Viper Server cache\n  uses: actions/cache@v2\n  env:\n    cache-name: vs-cache\n  with:\n    path: ${{ runner.workspace }}/.gobra/cache.json \n    key: ${{ env.cache-name }}\n- name: Verify all Gobra files\n  uses: viperproject/gobra-action@main\n  with:\n    caching: 1\n    viperBackend: VSWITHSILICON\n```\n\n### Storing artifacts\n\nThere are two artifacts generated by this Action that are worth to be stored:\n - the cache file, generated in `${{ runner.workspace }}/.gobra/cache.json`.\n - the statistics collected during verification,  generated in `${{ runner.workspace }}/.gobra/stats.json`. \n\nThe following snippet shows how to store these files as artifacts:\n\n```yaml\n- name: Verify all Gobra files\n  uses: viperproject/gobra-action@main\n  with:\n    caching: 1\n    viperBackend: VSWITHSILICON\n- name: Archive cache\n  uses: actions/upload-artifact@v2\n  with:\n    name: cache\n    path: ${{ runner.workspace }}/.gobra/cache.json\n- name: Archive statistics report\n  uses: actions/upload-artifact@v2\n  with:\n    name: stats\n    path: ${{ runner.workspace }}/.gobra/stats.json     \n\n```\n\n# License\n\nThe scripts and documentation in this project are released under the [Mozilla Public License 2.0](LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviperproject%2Fgobra-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviperproject%2Fgobra-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviperproject%2Fgobra-action/lists"}