{"id":18682760,"url":"https://github.com/chneau/testing-github-actions","last_synced_at":"2026-04-17T10:31:27.189Z","repository":{"id":74471399,"uuid":"293880505","full_name":"chneau/testing-github-actions","owner":"chneau","description":"Testing Github Actions with a C# solution. Actually only HelloWorldHttp is useful for the deployment.","archived":false,"fork":false,"pushed_at":"2023-07-31T11:47:08.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-01T20:14:30.189Z","etag":null,"topics":["cicd","dotnet","github-actions"],"latest_commit_sha":null,"homepage":"","language":"C#","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/chneau.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-08T17:27:02.000Z","updated_at":"2022-08-03T22:38:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"c1ea9999-5b95-4411-9a2c-e6096245af99","html_url":"https://github.com/chneau/testing-github-actions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chneau/testing-github-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chneau%2Ftesting-github-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chneau%2Ftesting-github-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chneau%2Ftesting-github-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chneau%2Ftesting-github-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chneau","download_url":"https://codeload.github.com/chneau/testing-github-actions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chneau%2Ftesting-github-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31925303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:19:20.377Z","status":"ssl_error","status_checked_at":"2026-04-17T10:19:18.682Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cicd","dotnet","github-actions"],"created_at":"2024-11-07T10:12:45.802Z","updated_at":"2026-04-17T10:31:27.171Z","avatar_url":"https://github.com/chneau.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# testing-github-actions\n\nLearning/testing github actions.\n\n## to keep in mind\n\n- if using docker hub, they impose new rate limit of their API for non paying customers.\n\n## next\n\n- updating docker container latest tag to the latest deployment version too.\n- use github container registry https://github.com/marketplace/actions/build-and-publish-docker-image-to-github-packages-registry\n\n## conclusion\n\nIt's as easy as getting the workflow file correct. I'm now planing to replace some of my travis.ci to github action.\n\n## links\n\n- https://hub.docker.com/r/testingchneau/testing-github-actions/tags\n- https://github.com/chneau/testing-github-actions/actions\n- http://chneau.ddns.net\n- https://itnext.io/app-trimming-in-net-5-reduce-your-app-sizes-dramatically-39891e2bedc1\n  - `-p:PublishTrimmed=True -p:TrimMode=CopyUsed`\n  - `-p:PublishTrimmed=True -p:TrimMode=Link`\n\n## dev\n\n- Setting up some C# project\n\n```bash\n# set up\ndotnet new sln --name Maths\ndotnet new gitignore\n\ndotnet new classlib --framework netcoreapp3.1 --name Operations\ndotnet new xunit --name Operations.Tests\ndotnet new console --name EntryPoint\ndotnet new console --name HelloWorldHttp\ndotnet sln add Operations\ndotnet sln add Operations.Tests\ndotnet sln add EntryPoint\ndotnet sln add HelloWorldHttp\n\n# references\ndotnet add Operations.Tests reference Operations\ndotnet add EntryPoint reference Operations\n\n# add nugget\ndotnet add package Microsoft.AspNetCore.Owin --version 3.1.3\n\n# run\ndotnet run --project EntryPoint\n\n# test\ndotnet test\n```\n\n- Setting up CI\n\n```bash\n# set up\nmkdir -p .github/workflows\ncode .github/workflows/tests.yml # see file\n\n# docker hub account https://hub.docker.com/u/testingchneau\n# docker hub image https://hub.docker.com/r/testingchneau/testing-github-actions/tags\n```\n\n- Setting up account for docker\n\n```bash\n# ubuntu\nsudo adduser gitci\nsudo usermod -aG docker gitci\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchneau%2Ftesting-github-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchneau%2Ftesting-github-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchneau%2Ftesting-github-actions/lists"}