Skip to content

Commit ae7edc1

Browse files
committed
ci: remove needless codes
1 parent 64e2339 commit ae7edc1

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches:
6-
- master
75
pull_request:
8-
types:
9-
- opened
10-
- synchronize
11-
- reopened
126

137
jobs:
148
test:
@@ -41,28 +35,9 @@ jobs:
4135
ruby-version: ${{ matrix.ruby }}
4236

4337
- uses: actions/cache@v4
44-
if: runner.os == 'Linux'
4538
with:
4639
path: ~/.cache/red-datasets
47-
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
48-
restore-keys: ${{ runner.os }}-
49-
50-
- uses: actions/cache@v4
51-
if: |
52-
runner.os == 'macOS'
53-
with:
54-
path: |
55-
~/Library/Caches/red-datasets
56-
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
57-
restore-keys: ${{ runner.os }}-
58-
59-
- uses: actions/cache@v4
60-
if: |
61-
runner.os == 'Windows'
62-
with:
63-
path: |
64-
~/AppData/red-datasets
65-
key: ${{ runner.os }}-${{ hashFiles('lib/**') }}
40+
key: ${{ runner.os }}-${{ hashFiles('charty.gemspec') }}
6641
restore-keys: ${{ runner.os }}-
6742

6843
- run: sudo apt install build-essential libsqlite3-dev

0 commit comments

Comments
 (0)