これは「Software Design 2022年2月号 第2特集 GitHub Actionsで簡単・快適CI/CD」の公開サンプルコードを管理するリポジトリです。
名前 | ソース |
---|---|
第1章 リスト1 - ワークフローYAMLの例 | source |
第1章 リスト2 - ステップ定義例 | source |
第2章 リスト1 - go.mod | source |
第2章 リスト2 - main.go | source |
第2章 リスト3 - main_test.go | source |
第2章 リスト4 - .github/workflows/go.yml | source |
第2章 リスト5 - Dockerfile | source |
第2章 リスト6 - .github/workflows/go-deploy.yml | source |
第3章 リスト1 - 複数のジョブのデフォルト定義の例 | source |
第3章 リスト2 - jobs.job_id.needsによる直列実行の例 | source |
第3章 リスト3 - Fan-out/Fan-inパターンによるジョブ実行フローの例 | source |
第3章 リスト4 - Build MatrixによるGo言語アプリのビルド・テストサンプル | source |
第3章 リスト5 - 同一ジョブ内でファイルシステムを用いたデータ共有 | source |
第3章 リスト6 - 同一ジョブ内でset-outputを用いたデータ共有 | source |
第3章 リスト7 - ジョブのoutputsを通じた複数ジョブ間でのデータ共有 | source |
第3章 リスト8 - Go言語モジュールとビルドをキャッシュするサンプル | source |
第3章 リスト9 - Environmentを使って複数環境にデプロイするワークフローの例 | source |
第3章 リスト10 - TerraformのHCLファイル | source |
第3章 リスト11 - Terraformを活用したGitHub Actionsワークフロー | source |
第3章 リスト12 - actions/github-scriptを活用してPull Requestにコメントを投稿する例 | source |
第3章 リスト13 - .github/labeler-config.yml | source |
第3章 リスト14 - .github/workflows/labeler.yml | source |