From c808b691ae3ca11004b8f7c9bba5523a252a61ea Mon Sep 17 00:00:00 2001 From: Corey Hemminger Date: Mon, 17 Jun 2024 11:38:01 -0500 Subject: [PATCH] fix: release please Signed-off-by: Corey Hemminger --- .github/workflows/ci.yaml | 30 ------------------------------ .github/workflows/lint.yaml | 9 +++++++++ .github/workflows/publish.yaml | 5 +---- .release-please-manifest.json | 3 +++ release-please-config.json | 12 ++++++++++++ 5 files changed, 25 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/ci.yaml create mode 100644 .github/workflows/lint.yaml create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index 3b594a3..0000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Lint & Unit - -"on": - pull_request: - -jobs: - yamllint: - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v4 - - name: Run yaml Lint - uses: actionshub/yamllint@main - - chefstyle: - runs-on: ubuntu-latest - continue-on-error: true - strategy: - matrix: - ruby: ["3.1"] - name: Chefstyle on Ruby ${{ matrix.ruby }} - steps: - - uses: actions/checkout@v4 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - bundler-cache: true - - uses: r7kamura/rubocop-problem-matchers-action@v1 - - run: bundle exec chefstyle diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..3249b27 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,9 @@ +--- +name: Lint & Unit + +"on": + pull_request: + +jobs: + lint-unit: + uses: test-kitchen/.github/.github/workflows/lint-unit.yml@vmain diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 25b1c98..05bbabd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -9,12 +9,9 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v3.7.13 + - uses: google-github-actions/release-please-action@v4 id: release with: - release-type: ruby - package-name: workflow-testing-gem - version-file: lib/kitchen/driver/version.rb token: ${{ secrets.PORTER_GITHUB_TOKEN }} - name: Checkout diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..df86f79 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.0.7" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..bc61ab2 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,12 @@ +{ + "packages": { + ".": { + "package-name": "workflow-testing", + "changelog-path": "CHANGELOG.md", + "release-type": "ruby", + "include-component-in-tag": false, + "version-file": "lib/kitchen/driver/version.rb" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}