{"id":32372104,"url":"https://github.com/devlooped/actions","last_synced_at":"2025-10-24T21:50:14.059Z","repository":{"id":313239006,"uuid":"1047567791","full_name":"devlooped/actions","owner":"devlooped","description":"Single-purpose actions authored as C# single-file programs to be run with dnx runcs","archived":false,"fork":false,"pushed_at":"2025-09-04T19:07:21.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T14:55:05.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/devlooped.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"devlooped"}},"created_at":"2025-08-30T17:53:47.000Z","updated_at":"2025-09-04T18:19:03.000Z","dependencies_parsed_at":"2025-09-04T19:34:21.244Z","dependency_job_id":"8f8080f5-587f-4796-8eb3-b23c9eb4f83e","html_url":"https://github.com/devlooped/actions","commit_stats":null,"previous_names":["devlooped/actions"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devlooped/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlooped","download_url":"https://codeload.github.com/devlooped/actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlooped%2Factions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280872028,"owners_count":26405606,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-24T21:50:10.711Z","updated_at":"2025-10-24T21:50:14.054Z","avatar_url":"https://github.com/devlooped.png","language":"C#","funding_links":["https://github.com/sponsors/devlooped"],"categories":[],"sub_categories":[],"readme":"# dnx actions\n\nThis project leverages .NET 10.0, C# 14.0 file-based apps \nand [SmallSharp](https://github.com/devlooped/SmallSharp/) \nto provide the ultimate developer productivity experience \nfor simple tasks or scripts, which can leverage the full \npower of .NET while being as easy to use as a shell script \nyet far more powerful and productive, and remaining cross-platform.\n\n## Getting started\n\n1. Install the [.NET 10.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/10.0).\n2. Use `dnx runcs devlooped/actions[@REF][:FILE]` to run any script in this repo.\n\n\u003e [!TIP]\n\u003e [Learn more](https://github.com/devlooped/runcs) about the format and capabilities of `runcs`.\n\u003e \n\nIf `@ref` is omitted (i.e. no `@main` branch or `@v1` tag) the tip of the \ndefault branch is used.\n\nIf `:file` is omitted (i.e. no `:hello.cs`) the first C# file is used.\n\n### GitHub Actions\n\nYou can use any of these scripts in your GitHub Actions workflows \nwith the same one-liner provided you previously installed .NET 10.0 SDK \n(for now since it's preview, until the hosted runners include it by default).\n\n```yaml\n- name: Run hello world\n  run: dnx runcs devlooped/actions@main:hello.cs\n```\n\n### SmallSharp\n\nThis project also uses [SmallSharp](https://github.com/devlooped/SmallSharp/) \nso there is a C# project in the repository root which allows editing \nany of the file-based scripts using the full power of an IDE like \nVisual Studio. You just pick the active one via the IDE dropdown that \nis automatically populated with all `.cs` files alongside the project.\n\n![start button](https://raw.githubusercontent.com/devlooped/SmallSharp/main/assets/img/launchSettings.png)\n\n\n## hello\n\n```bash\ndnx runcs devlooped/actions:hello.cs\n```\n\nA simple hello world script that demonstrates how `runcs` automatically \ndownloads (and keeps updated) the script on your machine, and runs it. \nAnd the [hello.cs](hello.cs) script itself is just a few lines of C# \ncode including a nuget package reference to Spectre.Console.\n\n## which-dotnet\n\n```bash\ndnx runcs devlooped/actions:which-dotnet.cs\n```\n\nDetermines which versions of .NET are in use and persists them to a JSON file.\n\nThis is a straight port of the [which-dotnet](https://github.com/devlooped/actions-which-dotnet/blob/main/action.yml) \nGitHub Action as a file-based C# script to showcase how you can easily \nmigrate while keeping the same convenience of execution.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlooped%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlooped%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlooped%2Factions/lists"}