Skip to content

Commit 7650cad

Browse files
bors[bot]Bromeon
andauthored
Merge #921
921: GitHub Action updates r=Bromeon a=Bromeon bors r+ Co-authored-by: Jan Haller <[email protected]>
2 parents 867b98b + da35606 commit 7650cad

File tree

8 files changed

+23
-34
lines changed

8 files changed

+23
-34
lines changed

.github/composite/godot/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ inputs:
2020
runs:
2121
using: "composite"
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
2424
- name: Install Rust
2525
uses: ./.github/composite/rust
2626
with:
2727
rust: ${{ inputs.rust_toolchain }}
2828
- name: "Check cache for installed Godot version"
2929
id: "cache-godot"
30-
uses: actions/cache@v2
30+
uses: actions/cache@v3
3131
with:
3232
path: ${{ runner.temp }}/godot_bin
3333
key: godot-${{ runner.os }}-v${{ inputs.godot_ver }}

.github/composite/llvm/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
id: cache-llvm
1515
# Note: conditionals not yet supported; see https://github.com/actions/runner/issues/834
1616
# if: ${{ inputs.llvm == 'true' }}
17-
uses: actions/cache@v2
17+
uses: actions/cache@v3
1818
with:
1919
path: ${{ runner.temp }}/llvm
2020
key: llvm-10.0

.github/composite/rust/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ runs:
2727
components: ${{ inputs.components }}
2828

2929
# For notes about the cache, see 'Full CI' workflow
30-
- uses: Swatinem/rust-cache@v1
30+
- uses: Swatinem/rust-cache@v2
3131
with:
32-
sharedKey: ${{ inputs.cache-key }}
32+
shared-key: ${{ inputs.cache-key }}

.github/workflows/doc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: "Checkout"
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040

4141
- name: "Install Rust"
4242
uses: ./.github/composite/rust

.github/workflows/full-ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
rustfmt:
5252
runs-on: ubuntu-latest
5353
steps:
54-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v3
5555
- name: "Install Rust"
5656
uses: ./.github/composite/rust
5757
with:
@@ -72,7 +72,7 @@ jobs:
7272
- toolchain: nightly
7373
postfix: ' (nightly)'
7474
steps:
75-
- uses: actions/checkout@v2
75+
- uses: actions/checkout@v3
7676
- name: "Install Rust"
7777
uses: ./.github/composite/rust
7878
with:
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-latest
8686
needs: rustfmt
8787
steps:
88-
- uses: actions/checkout@v2
88+
- uses: actions/checkout@v3
8989

9090
# Deny
9191
# Note: manually downloading is ~30s faster than https://github.com/EmbarkStudios/cargo-deny-action
@@ -141,7 +141,7 @@ jobs:
141141
rust: { toolchain: 'stable', postfix: ' (minimal-deps)', special: 'minimal-deps' }
142142
runs-on: ${{ matrix.os.id }}
143143
steps:
144-
- uses: actions/checkout@v2
144+
- uses: actions/checkout@v3
145145
- name: "Install nightly Rust (minimal-deps only)"
146146
uses: actions-rs/toolchain@v1
147147
with:
@@ -181,7 +181,7 @@ jobs:
181181
name: linux
182182
runs-on: ${{ matrix.os.id }}
183183
steps:
184-
- uses: actions/checkout@v2
184+
- uses: actions/checkout@v3
185185
- name: "Install Rust"
186186
uses: ./.github/composite/rust
187187
with:
@@ -200,7 +200,7 @@ jobs:
200200
# rust: [stable]
201201
runs-on: macos-latest
202202
steps:
203-
- uses: actions/checkout@v2
203+
- uses: actions/checkout@v3
204204
- name: "Install Rust"
205205
uses: ./.github/composite/rust
206206
#with:
@@ -232,7 +232,7 @@ jobs:
232232
# rust: [stable]
233233
runs-on: ubuntu-latest
234234
steps:
235-
- uses: actions/checkout@v2
235+
- uses: actions/checkout@v3
236236
- name: "Install Rust"
237237
uses: ./.github/composite/rust
238238
#with:
@@ -286,7 +286,7 @@ jobs:
286286

287287
runs-on: ubuntu-latest
288288
steps:
289-
- uses: actions/checkout@v2
289+
- uses: actions/checkout@v3
290290
- name: "Run Godot integration test"
291291
uses: ./.github/composite/godot
292292
with:

.github/workflows/minimal-ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
rustfmt:
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v3
3939
- name: "Install Rust"
4040
uses: ./.github/composite/rust
4141
with:
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-latest
4949
continue-on-error: ${{ matrix.rust == 'nightly' }}
5050
steps:
51-
- uses: actions/checkout@v2
51+
- uses: actions/checkout@v3
5252
- name: "Install Rust"
5353
uses: ./.github/composite/rust
5454
with:
@@ -60,7 +60,7 @@ jobs:
6060
unit-test:
6161
runs-on: ubuntu-latest
6262
steps:
63-
- uses: actions/checkout@v2
63+
- uses: actions/checkout@v3
6464
- name: "Install Rust"
6565
uses: ./.github/composite/rust
6666
- name: "Compile tests"
@@ -71,7 +71,7 @@ jobs:
7171
integration-test-godot:
7272
runs-on: ubuntu-latest
7373
steps:
74-
- uses: actions/checkout@v2
74+
- uses: actions/checkout@v3
7575
- name: "Run Godot integration test"
7676
uses: ./.github/composite/godot
7777
with:

.github/workflows/release-version.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
validation:
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3434

3535
# sed: https://unix.stackexchange.com/a/589584
3636
- name: "Interpret tag version"
@@ -73,7 +73,7 @@ jobs:
7373
runs-on: ubuntu-latest
7474
needs: validation
7575
steps:
76-
- uses: actions/checkout@v2
76+
- uses: actions/checkout@v3
7777
- uses: actions-rs/toolchain@v1
7878
with:
7979
profile: minimal
@@ -88,7 +88,7 @@ jobs:
8888
runs-on: ubuntu-latest
8989
needs: validation
9090
steps:
91-
- uses: actions/checkout@v2
91+
- uses: actions/checkout@v3
9292
- uses: actions-rs/toolchain@v1
9393
with:
9494
profile: minimal
@@ -102,7 +102,7 @@ jobs:
102102
runs-on: ubuntu-latest
103103
needs: validation
104104
steps:
105-
- uses: actions/checkout@v2
105+
- uses: actions/checkout@v3
106106
- uses: actions-rs/toolchain@v1
107107
with:
108108
profile: minimal
@@ -119,7 +119,7 @@ jobs:
119119
steps:
120120
# Note: we cannot dry-run the publishing, since crates depend on each other, and dry-run will fail if they aren't yet on crates.io.
121121
# Sleep to leave crates.io and docs.rs some time to index the dependencies, before releasing dependents.
122-
- uses: actions/checkout@v2
122+
- uses: actions/checkout@v3
123123
- name: "Execute crates.io publishing"
124124
env:
125125
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}

gdnative-core/src/export/macros.rs

-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
#![macro_use]
22

3-
#[doc(hidden)]
4-
#[macro_export]
5-
macro_rules! godot_wrap_method_parameter_count {
6-
() => {
7-
0
8-
};
9-
($name:ident, $($other:ident,)*) => {
10-
1 + $crate::godot_wrap_method_parameter_count!($($other,)*)
11-
}
12-
}
13-
143
#[doc(hidden)]
154
#[macro_export]
165
macro_rules! godot_wrap_method_if_deref {

0 commit comments

Comments
 (0)