From f66ea4eea7d70d88255d702ea5b52f305ea5e775 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 8 Jan 2023 17:47:26 -0800 Subject: [PATCH] chore: remove bundler cache --- .github/workflows/e2e-tests-readonly.yml | 10 ---------- .github/workflows/e2e-tests-readwrite.yml | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/.github/workflows/e2e-tests-readonly.yml b/.github/workflows/e2e-tests-readonly.yml index 88f82ec9..5b9707d2 100644 --- a/.github/workflows/e2e-tests-readonly.yml +++ b/.github/workflows/e2e-tests-readonly.yml @@ -29,12 +29,6 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: '3.0.4' - - name: Cache Mastodon bundler - uses: actions/cache@v3 - with: - path: ~/.bundle-vendor-cache - # cache based on masto version implicitly defined in mastodon-config.js - key: masto-bundler-v3-${{ hashFiles('bin/mastodon-config.js') }} - name: Cache Mastodon's and our yarn uses: actions/cache@v3 with: @@ -57,9 +51,5 @@ jobs: - run: yarn --frozen-lockfile - run: yarn build - run: yarn clone-mastodon - - name: Move bundler cache so Mastodon can find it - run: if [ -d ~/.bundle-vendor-cache ]; then mkdir -p ./mastodon/vendor && mv ~/.bundle-vendor-cache ./mastodon/vendor/bundle; fi - name: Read-only e2e tests run: yarn test-in-ci-suite0 - - name: Move bundler cache so GitHub Actions can find it - run: mv ./mastodon/vendor/bundle ~/.bundle-vendor-cache diff --git a/.github/workflows/e2e-tests-readwrite.yml b/.github/workflows/e2e-tests-readwrite.yml index 03007e94..57e50768 100644 --- a/.github/workflows/e2e-tests-readwrite.yml +++ b/.github/workflows/e2e-tests-readwrite.yml @@ -29,12 +29,6 @@ jobs: - uses: ruby/setup-ruby@v1 with: ruby-version: '3.0.4' - - name: Cache Mastodon bundler - uses: actions/cache@v3 - with: - path: ~/.bundle-vendor-cache - # cache based on masto version implicitly defined in mastodon-config.js - key: masto-bundler-v3-${{ hashFiles('bin/mastodon-config.js') }} - name: Cache Mastodon's and our yarn uses: actions/cache@v3 with: @@ -57,9 +51,5 @@ jobs: - run: yarn --frozen-lockfile - run: yarn build - run: yarn clone-mastodon - - name: Move bundler cache so Mastodon can find it - run: if [ -d ~/.bundle-vendor-cache ]; then mkdir -p ./mastodon/vendor && mv ~/.bundle-vendor-cache ./mastodon/vendor/bundle; fi - name: Read-write e2e tests run: yarn test-in-ci-suite1 - - name: Move bundler cache so GitHub Actions can find it - run: mv ./mastodon/vendor/bundle ~/.bundle-vendor-cache