mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Use Github actions via sha1 (not tags) and keep them updated via dependabot
Tags are mutable and can change unexpectedly. Referencing actions via sha1 is more secure in that regard. Dependabot helps to automatically update to newer versions.
This commit is contained in:
parent
2c43cfb56f
commit
32ddd4dbf9
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -15,14 +15,14 @@ jobs:
|
|||||||
java: [ '11', '11.0.3', '15', '15.0.5']
|
java: [ '11', '11.0.3', '15', '15.0.5']
|
||||||
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }}
|
name: Test Java ${{ matrix.Java }}, ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@5f00602cd1b2819185d88dc7a1b1985f598c6705
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Validate Gradle Wrapper JAR files
|
- name: Validate Gradle Wrapper JAR files
|
||||||
uses: gradle/wrapper-validation-action@v1
|
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
Loading…
Reference in New Issue
Block a user