We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35dcae5 commit 0e7a9e2Copy full SHA for 0e7a9e2
.github/workflows/build-and-test.yml
@@ -1,22 +1,26 @@
1
name: Build and Test
2
on:
3
push:
4
- branches:
5
- - master
+ branches: [master]
6
pull_request:
7
8
9
10
jobs:
11
build:
12
runs-on: ubuntu-latest
+ permissions:
+ contents: read
13
+ actions: write
14
+
15
steps:
- - uses: actions/checkout@v2
16
+ - uses: actions/checkout@v4
17
18
- name: Set up JDK 11
- uses: actions/setup-java@v2
19
+ uses: actions/setup-java@v4
20
with:
21
+ distribution: temurin
22
java-version: '11'
- distribution: 'adopt'
23
cache: maven
24
25
- name: Build and Test with Maven
- run: mvn --batch-mode --update-snapshots verify
26
+ run: mvn -B -ntp --update-snapshots verify
0 commit comments