File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ github:
4848 issues : true
4949 discussions : true
5050 protected_branches :
51- main : ~
51+ main : {}
5252 pull_requests :
5353 allow_update_branch : true
5454 allow_auto_merge : true
Original file line number Diff line number Diff line change 1+ # Licensed to the Apache Software Foundation (ASF) under one
2+ # or more contributor license agreements. See the NOTICE file
3+ # distributed with this work for additional information
4+ # regarding copyright ownership. The ASF licenses this file
5+ # to you under the Apache License, Version 2.0 (the
6+ # "License"); you may not use this file except in compliance
7+ # with the License. You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing,
12+ # software distributed under the License is distributed on an
13+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ # KIND, either express or implied. See the License for the
15+ # specific language governing permissions and limitations
16+ # under the License.
17+
18+ name : Build
19+
20+ on :
21+ push :
22+ branches : [main]
23+ pull_request :
24+ branches : [main]
25+
26+ permissions :
27+ contents : read
28+
29+ jobs :
30+ build :
31+ name : make test
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v4
35+
36+ - name : Set up JDK 17
37+ uses : actions/setup-java@v4
38+ with :
39+ distribution : temurin
40+ java-version : ' 17'
41+ cache : maven
42+
43+ - name : Set up Rust toolchain
44+ uses : dtolnay/rust-toolchain@stable
45+
46+ - name : Cache cargo build
47+ uses : Swatinem/rust-cache@v2
48+ with :
49+ workspaces : native
50+
51+ - name : Build native and run JVM tests
52+ run : make test
You can’t perform that action at this time.
0 commit comments