Skip to content

Commit e04bc92

Browse files
committed
Format CI workflows
1 parent 780081b commit e04bc92

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CD
22

33
on:
44
push:
5-
tags: [ '*' ]
5+
tags: ["*"]
66
env:
77
RUST_BACKTRACE: 1
88
jobs:
@@ -17,7 +17,7 @@ jobs:
1717
- name: publish crates
1818
uses: katyo/publish-crates@v2
1919
with:
20-
path: './'
20+
path: "./"
2121
args: --no-verify --allow-dirty --all-features
2222
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
2323
ignore-unpublished-changes: true

.github/workflows/rust.yaml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
env:
99
RUST_BACKTRACE: 1
1010
jobs:
@@ -14,15 +14,16 @@ jobs:
1414
fail-fast: true
1515
matrix:
1616
include:
17-
- { target: x86_64-pc-windows-msvc, os: windows-latest, duckdb: libduckdb-windows-amd64.zip }
18-
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, duckdb: libduckdb-linux-amd64.zip }
19-
#- { target: x86_64-apple-darwin, os: macos-latest }
20-
#- {
21-
#target: x86_64-pc-windows-gnu,
22-
#os: windows-latest,
23-
#host: -x86_64-pc-windows-gnu,
24-
#}
25-
17+
- {
18+
target: x86_64-pc-windows-msvc,
19+
os: windows-latest,
20+
duckdb: libduckdb-windows-amd64.zip,
21+
}
22+
- {
23+
target: x86_64-unknown-linux-gnu,
24+
os: ubuntu-latest,
25+
duckdb: libduckdb-linux-amd64.zip,
26+
}
2627
runs-on: ${{ matrix.os }}
2728
steps:
2829
- uses: actions/checkout@v2
@@ -122,7 +123,7 @@ jobs:
122123
- uses: actions-rust-lang/setup-rust-toolchain@v1
123124
with:
124125
toolchain: nightly
125-
components: 'rust-src'
126+
components: "rust-src"
126127
# Install LLVM tools
127128
- name: Install LLVM
128129
run: |
@@ -146,7 +147,7 @@ jobs:
146147
- name: publish crates --dry-run
147148
uses: katyo/publish-crates@v2
148149
with:
149-
path: './'
150+
path: "./"
150151
args: --allow-dirty --all-features
151152
dry-run: true
152153
ignore-unpublished-changes: true

0 commit comments

Comments
 (0)