Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Collection of common reusable GitHub Action workflows

License

NotificationsYou must be signed in to change notification settings

sbartholomeusz/gh-actions-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Banner

Overview

Collection of common reusable GitHub Action workflows:

WorkflowPurpose
.github/workflows/dotnet-buildBuilds dotnet code and uploads build artifacts.
.github/workflows/dotnet-testRuns dotnet tests.
.github/workflows/dotnet-code-qlRuns automated dotnet code quality checks.
.github/workflows/dotnet-release.ymlCreate GitHub Release.
.github/workflows/npm-build.ymlBuilds npm code.
.github/workflows/npm-test.ymlRuns npm tests.
.github/workflows/javascript-code-ql.ymlRuns automated javascript code quality checks.
.github/workflows/typescript-code-ql.ymlRuns automated typescript code quality checks.

Usage Notes

dotnet-build

uses:sbartholomeusz/gh-actions-common/.github/workflows/dotnet-build.yml@v1with:# Required dotnet versiondotnet_version:'7.0.x'# Path to projectproject_path:'./src/my-project.csproj'# Operating system platform - defaults to 'ubuntu-latest'# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners.os_platform:'ubuntu-latest'# Name of the uploaded build artifactapp_artifact_name:'app-package'

dotnet-test

uses:sbartholomeusz/gh-actions-common/.github/workflows/dotnet-test.yml@v1with:# Required dotnet versiondotnet_version:'7.0.x'# Path to solution or projectpath:'./src/my-solution.sln'# Operating system platform - defaults to 'ubuntu-latest'# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners.os_platform:'ubuntu-latest'

dotnet-code-ql

permissions:actions:readcontents:readsecurity-events:writeuses:sbartholomeusz/gh-actions-common/.github/workflows/dotnet-code-ql.yml@v1with:# Required dotnet versiondotnet_version:'7.0.x'# Path to the source codepath:'./src'# Operating system platform - defaults to 'ubuntu-latest'# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners.os_platform:'ubuntu-latest'

dotnet-release

permissions:contents:writeuses:sbartholomeusz/gh-actions-common/.github/workflows/dotnet-release.yml@v1

npm-build

uses:sbartholomeusz/gh-actions-common/.github/workflows/npm-build.yml@v1with:# Required node versionnode_version:'16'# Path to source codepath:'./src'# Operating system platform - defaults to 'ubuntu-latest'# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners.os_platform:'ubuntu-latest'

npm-test

uses:sbartholomeusz/gh-actions-common/.github/workflows/npm-test.yml@v1with:# Required node versionnode_version:'16'# Path to source codepath:'./src'# Operating system platform - defaults to 'ubuntu-latest'# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners.os_platform:'ubuntu-latest'

javascript-code-ql

uses:sbartholomeusz/gh-actions-common/.github/workflows/javascript-code-ql.yml@v1with:# Path to source codepath:'./src'# Operating system platform - defaults to 'ubuntu-latest'# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners.os_platform:'ubuntu-latest'

typescript-code-ql

uses:sbartholomeusz/gh-actions-common/.github/workflows/typescript-code-ql.yml@v1with:# Path to source codepath:'./src'# Operating system platform - defaults to 'ubuntu-latest'# See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job#choosing-github-hosted-runners.os_platform:'ubuntu-latest'

About

Collection of common reusable GitHub Action workflows

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp