From cf162dcd7d5a63fac331a4aac73c81dc6fe1c3fc Mon Sep 17 00:00:00 2001 From: david Date: Mon, 22 Jul 2024 23:04:02 +0200 Subject: [PATCH] use custom image --- .forgejo/workflows/test.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 6719d14..2953c90 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -3,28 +3,20 @@ jobs: test: runs-on: docker name: Text + container: code.hohl.cloud/a11yist:ci steps: - - uses: https://github.com/ruby/setup-ruby@v1 - with: - ruby-version: '3.3.4' # Not needed with a .ruby-version file - name: Cache repository uses: actions/cache@v4 id: cache-repository with: - path: repository + path: . key: ${{ runner.os }}-repository-${{ github.sha }} restore-keys: | ${{ runner.os }}-repository- - - name: Cache bundle - uses: actions/cache@v4 - id: cache-bundle - with: - path: /usr/local/bundle - name: Checkout repository uses: actions/checkout@v4 with: - path: repository + path: . submodules: recursive - - run: cd repository - run: bundle install - run: bundle exec rails test