{"id":13804119,"url":"https://github.com/WebFreak001/dub-upgrade","last_synced_at":"2025-05-13T17:31:22.561Z","repository":{"id":44818772,"uuid":"284113488","full_name":"WebFreak001/dub-upgrade","owner":"WebFreak001","description":"Run `dub upgrade` trying to repeat on network failure and using package cache on GitHub Actions","archived":false,"fork":false,"pushed_at":"2023-07-11T03:38:02.000Z","size":2464,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-12T06:38:02.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebFreak001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-31T19:25:27.000Z","updated_at":"2022-01-22T13:40:26.000Z","dependencies_parsed_at":"2024-01-03T01:30:19.173Z","dependency_job_id":null,"html_url":"https://github.com/WebFreak001/dub-upgrade","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"200dff9e19c13b314137d569e19465006419759a"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Fdub-upgrade/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebFreak001","download_url":"https://codeload.github.com/WebFreak001/dub-upgrade/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225247831,"owners_count":17444122,"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":[],"created_at":"2024-08-04T01:00:42.039Z","updated_at":"2024-11-18T20:31:33.736Z","avatar_url":"https://github.com/WebFreak001.png","language":"JavaScript","funding_links":[],"categories":["GitHub Actions"],"sub_categories":["Bare metal / kernel development"],"readme":"# dub-upgrade\n\nGitHub Actions CI Action to run `dub upgrade` with automatic retry on network failure and caching package downloads and optionally also compiled library binaries across builds using dub's native caching functionality.\n\n## Usage\n\nBasic usage:\n```yml\nsteps:\n  - uses: actions/checkout@v1\n\n  - uses: dlang-community/setup-dlang@v1 # install D compiler \u0026 Dub\n    with:\n      compiler: dmd-latest\n\n  - uses: WebFreak001/dub-upgrade@v0.1\n\n  - name: Run tests # do whatever with upgraded \u0026 fetched dependencies\n    run: dub test\n```\n\nCaching compiled binaries:\n```yml\nsteps:\n  - uses: actions/checkout@v1\n\n  - uses: dlang-community/setup-dlang@v1 # install D compiler \u0026 Dub\n    with:\n      compiler: dmd-latest\n\n  - uses: WebFreak001/dub-upgrade@v0.1\n\n  - name: Run tests # do whatever with upgraded \u0026 fetched dependencies\n    run: dub test\n\n  - uses: WebFreak001/dub-upgrade@v0.1 # second call to cache dependency binaries\n    with:\n      store: true # set this to true to not run an upgrade but only update cache\n```\n\nNot using cache, only retrying on network failure:\n```yml\nsteps:\n  - uses: actions/checkout@v1\n\n  - uses: dlang-community/setup-dlang@v1 # install D compiler \u0026 Dub\n    with:\n      compiler: dmd-latest\n\n  - uses: WebFreak001/dub-upgrade@v0.1\n    with:\n      cache: false\n\n  - name: Run tests # do whatever with upgraded \u0026 fetched dependencies\n    run: dub test\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebFreak001%2Fdub-upgrade","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWebFreak001%2Fdub-upgrade","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebFreak001%2Fdub-upgrade/lists"}