{"id":34926669,"url":"https://github.com/midnightntwrk/setup-compact-action","last_synced_at":"2026-05-25T04:02:33.189Z","repository":{"id":319055954,"uuid":"1059445569","full_name":"midnightntwrk/setup-compact-action","owner":"midnightntwrk","description":"Github Action for installing Compact compiler","archived":false,"fork":false,"pushed_at":"2026-03-24T09:33:28.000Z","size":26,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-25T11:49:15.271Z","etag":null,"topics":["compact","midnightntwrk"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/midnightntwrk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T13:04:35.000Z","updated_at":"2026-03-24T09:32:31.000Z","dependencies_parsed_at":"2025-10-17T23:17:20.877Z","dependency_job_id":"c444aed8-7bdf-44b3-b272-5bffba198bdb","html_url":"https://github.com/midnightntwrk/setup-compact-action","commit_stats":null,"previous_names":["midnightntwrk/setup-compact-action"],"tags_count":1,"template":false,"template_full_name":"midnightntwrk/midnight-template-repo","purl":"pkg:github/midnightntwrk/setup-compact-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midnightntwrk%2Fsetup-compact-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midnightntwrk%2Fsetup-compact-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midnightntwrk%2Fsetup-compact-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midnightntwrk%2Fsetup-compact-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/midnightntwrk","download_url":"https://codeload.github.com/midnightntwrk/setup-compact-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midnightntwrk%2Fsetup-compact-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33459701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T02:24:28.008Z","status":"ssl_error","status_checked_at":"2026-05-25T02:23:23.339Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["compact","midnightntwrk"],"created_at":"2025-12-26T14:34:56.673Z","updated_at":"2026-05-25T04:02:33.182Z","avatar_url":"https://github.com/midnightntwrk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup Compact Action\n\nA GitHub Action to install and cache the Midnight Compact compiler for use in CI/CD workflows.\n\n## Features\n\n- 🚀 **Fast installation** with intelligent caching\n- 📦 **Version pinning** support (or use latest)\n\n## Usage\n\n### Basic Usage\n\n```yaml\n- name: Setup Compact Compiler\n  uses: midnightntwrk/setup-compact-action@v1\n```\n\n### Specify Version\n\n```yaml\n- name: Setup Compact Compiler\n  uses: midnightntwrk/setup-compact-action@v1\n  with:\n    compact-version: '0.26.0'\n```\n\n### Complete Example\n\n```yaml\nname: Build with Compact\n\non: [push, pull_request]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Compact Compiler\n        uses: midnightntwrk/setup-compact-action@v1\n        with:\n          compact-version: '0.26.0'\n\n      - name: Compile Compact code\n        run: |\n          compact compile --version\n          # Your build commands here\n```\n\n## Inputs\n\n| Input | Description | Required | Default |\n|-------|-------------|----------|---------|\n| `compact-version` | Version of Compact compiler to install (e.g., `0.26.0` or `latest`) | No | `latest` |\n| `cache-enabled` | Enable caching of the Compact installation | No | `true` |\n\n## Outputs\n\n| Output | Description |\n|--------|-------------|\n| `compact-version` | The installed version of Compact compiler |\n| `cache-hit` | Whether the cache was hit (`true` or `false`) |\n\n## Caching Strategy\n\nThe action uses GitHub Actions cache to store the Compact compiler binaries. The cache key is based on:\n- Compact version\n- Runner OS\n- Runner architecture\n\nThis ensures fast subsequent runs while maintaining version accuracy across different platforms.\n\n## Performance\n\nWith caching enabled:\n- **First run**: ~30-60 seconds (downloads and installs)\n- **Cached runs**: ~2-5 seconds (restores from cache)\n\n---\n\n### LICENSE\n\nApache 2.0.\n\n### README.md\n\nProvides a brief description for users and developers who want to understand the purpose, setup, and usage of the repository.\n\n### SECURITY.md\n\nProvides a brief description of the Midnight Foundation's security policy and how to properly disclose security issues.\n\n### CONTRIBUTING.md\n\nProvides guidelines for how people can contribute to the Midnight project.\n\n### CODEOWNERS\n\nDefines repository ownership rules.\n\n### ISSUE_TEMPLATE\n\nProvides templates for reporting various types of issues, such as: bug report, documentation improvement and feature request.\n\n### PULL_REQUEST_TEMPLATE\n\nProvides a template for a pull request.\n\n### CLA Assistant\n\nThe Midnight Foundation appreciates contributions, and like many other open source projects asks contributors to sign a contributor\nLicense Agreement before accepting contributions. We use CLA assistant (https://github.com/cla-assistant/cla-assistant) to streamline the CLA\nsigning process, enabling contributors to sign our CLAs directly within a GitHub pull request.\n\n### Dependabot\n\nThe Midnight Foundation uses GitHub Dependabot feature to keep our projects dependencies up-to-date and address potential security vulnerabilities.\n\n### Checkmarx\n\nThe Midnight Foundation uses Checkmarx for application security (AppSec) to identify and fix security vulnerabilities.\nAll repositories are scanned with Checkmarx's suite of tools including: Static Application Security Testing (SAST), Infrastructure as Code (IaC), Software Composition Analysis (SCA), API Security, Container Security and Supply Chain Scans (SCS).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidnightntwrk%2Fsetup-compact-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmidnightntwrk%2Fsetup-compact-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidnightntwrk%2Fsetup-compact-action/lists"}