diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..7ceb0b9d --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,29 @@ +--- +name: CI +on: + push: + pull_request: + workflow_dispatch: + schedule: + - cron: 0 0 * * * +jobs: + ci: + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: + - '3.1' + steps: + - uses: actions/checkout@v4 + - name: Set up system + run: bin/before_install + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "${{ matrix.ruby-version }}" + bundler-cache: true + timeout-minutes: 30 + - uses: actions/upload-artifact@v4 + with: + name: cache + path: vendor/bundle/ diff --git a/.github/workflows/diagnose_cache_size.yaml b/.github/workflows/diagnose_cache_size.yaml deleted file mode 100644 index 0f1a1350..00000000 --- a/.github/workflows/diagnose_cache_size.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Diagnose Cache Size -on: - push: - pull_request: -jobs: - diagnose-cache-size: - runs-on: ubuntu-latest - steps: - - uses: actions/cache/restore@v4 - with: - path: | - vendor/bundle/ - key: setup-ruby-bundler-cache-v6-ubuntu-22.04-x64-ruby-3.1.6-wd-/home/runner/work/manageiq-providers-ibm_cloud/manageiq-providers-ibm_cloud-with--without--only--Gemfile.lock-1640b0617d93b069ce17fe8efbda8dd9651edd3f6aa9fa624cd97a1b4a2e505c - restore-keys: | - setup-ruby-bundler-cache-v6-ubuntu-22.04-x64-ruby-3.1.6-wd-/home/runner/work/manageiq-providers-ibm_cloud/manageiq-providers-ibm_cloud-with--without--only--Gemfile.lock- - - uses: actions/upload-artifact@v4 - with: - name: cache - path: vendor/bundle/