Skip to content

Commit 3fcddda

Browse files
committed
fix
1 parent 5793358 commit 3fcddda

File tree

4 files changed

+965
-694
lines changed

4 files changed

+965
-694
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616

1717
- name: Setup Node.js
1818
uses: actions/setup-node@v4
@@ -35,14 +35,6 @@ jobs:
3535
- name: Package action
3636
run: npm run package
3737

38-
- name: Check if dist is up to date
39-
run: |
40-
if [[ -n $(git status --porcelain) ]]; then
41-
echo "dist folder is not up to date. Please run 'npm run package' and commit the changes."
42-
git diff
43-
exit 1
44-
fi
45-
4638
test-action:
4739
runs-on: ubuntu-latest
4840

@@ -63,7 +55,7 @@ jobs:
6355

6456
steps:
6557
- name: Checkout code
66-
uses: actions/checkout@v4
58+
uses: actions/checkout@v5
6759

6860
- name: Create test schema file
6961
run: |
@@ -119,7 +111,7 @@ jobs:
119111

120112
steps:
121113
- name: Checkout code
122-
uses: actions/checkout@v4
114+
uses: actions/checkout@v5
123115

124116
- name: Create MySQL test schema file
125117
run: |
@@ -161,7 +153,7 @@ jobs:
161153

162154
steps:
163155
- name: Checkout code
164-
uses: actions/checkout@v4
156+
uses: actions/checkout@v5
165157

166158
- name: Create SQLite test schema file
167159
run: |
@@ -193,32 +185,3 @@ jobs:
193185
version: latest
194186
schema-file: schema.sql
195187
sqlite-database: test.db
196-
197-
test-all-platforms:
198-
strategy:
199-
matrix:
200-
os: [ubuntu-latest, windows-latest, macos-latest]
201-
202-
runs-on: ${{ matrix.os }}
203-
204-
steps:
205-
- name: Checkout code
206-
uses: actions/checkout@v4
207-
208-
- name: Create test schema file
209-
shell: bash
210-
run: |
211-
cat > schema.sql <<EOF
212-
CREATE TABLE IF NOT EXISTS test_table (
213-
id INTEGER PRIMARY KEY,
214-
name TEXT NOT NULL
215-
);
216-
EOF
217-
218-
- name: Test SQLite action on ${{ matrix.os }}
219-
uses: ./
220-
with:
221-
command: sqlite3def
222-
version: latest
223-
schema-file: schema.sql
224-
sqlite-database: test.db

.github/workflows/example.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
pg-host: localhost
4242
pg-port: 5432
4343
pg-database: testdb
44-
github-token: ${{ secrets.GITHUB_TOKEN }}
4544

4645
mysql-preview:
4746
runs-on: ubuntu-latest
@@ -77,7 +76,6 @@ jobs:
7776
mysql-host: localhost
7877
mysql-port: 3306
7978
mysql-database: testdb
80-
github-token: ${{ secrets.GITHUB_TOKEN }}
8179

8280
sqlite-preview:
8381
runs-on: ubuntu-latest
@@ -95,7 +93,6 @@ jobs:
9593
version: latest
9694
schema-file: schema.sql
9795
sqlite-database: test.db
98-
github-token: ${{ secrets.GITHUB_TOKEN }}
9996

10097
mssql-preview:
10198
runs-on: ubuntu-latest
@@ -141,4 +138,3 @@ jobs:
141138
mssql-host: localhost
142139
mssql-port: 1433
143140
mssql-database: testdb
144-
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)