File tree Expand file tree Collapse file tree 8 files changed +27
-27
lines changed
Expand file tree Collapse file tree 8 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 1111 permissions :
1212 issues : write
1313 steps :
14- - uses : andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
14+ - uses : andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # pin@1.0.4
1515 with :
16- add-labels : " Platform: Java"
16+ add-labels : ' Platform: Java'
1717 repo-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- name : " Build"
1+ name : ' Build'
22on :
33 push :
44 branches :
@@ -17,17 +17,17 @@ jobs:
1717 # TODO: windows-latest
1818 os : [ubuntu-latest, macos-latest]
1919 # Zulu Community distribution of OpenJDK
20- java : ["11" ]
20+ java : ['11' ]
2121
2222 steps :
2323 - name : Git checkout
2424 uses : actions/checkout@v2
2525
26- - name : " Set up Java: ${{ matrix.java }}"
26+ - name : ' Set up Java: ${{ matrix.java }}'
2727 uses : actions/setup-java@v2
2828 with :
2929 java-version : ${{ matrix.java }}
30- distribution : " adopt"
30+ distribution : ' adopt'
3131
3232 - name : Cache Gradle packages
3333 uses : actions/cache@v2
6262 - name : Upload coverage to Codecov
6363 # We need coverage data from only one the builds
6464 if : runner.os == 'Linux' && matrix.java == '11'
65- uses : codecov/codecov-action@v2
65+ uses : codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # pin@v3
6666 with :
6767 name : sentry-java
Original file line number Diff line number Diff line change 1- name : " CodeQL"
1+ name : ' CodeQL'
22
33on :
44 push :
77 # The branches below must be a subset of the branches above
88 branches : [main]
99 schedule :
10- - cron : " 17 23 * * 3"
10+ - cron : ' 17 23 * * 3'
1111
1212jobs :
1313 analyze :
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- language : [" cpp", " java" ]
20+ language : [' cpp', ' java' ]
2121
2222 steps :
2323 - name : Checkout repository
@@ -34,12 +34,12 @@ jobs:
3434 ${{ runner.os }}-gradle-
3535
3636 - name : Initialize CodeQL
37- uses : github/codeql-action/init@v1
37+ uses : github/codeql-action/init@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44 # pin@v2
3838 with :
3939 languages : ${{ matrix.language }}
4040
4141 - run : |
4242 ./gradlew assemble
4343
4444 - name : Perform CodeQL Analysis
45- uses : github/codeql-action/analyze@v1
45+ uses : github/codeql-action/analyze@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44 # pin@v2
Original file line number Diff line number Diff line change 1313 - name : set up JDK 11
1414 uses : actions/setup-java@v2
1515 with :
16- distribution : " adopt"
17- java-version : " 11 "
16+ distribution : ' adopt'
17+ java-version : ' 11 '
1818
1919 - name : Cache Gradle packages
2020 uses : actions/cache@v2
Original file line number Diff line number Diff line change 1- name : " Generate Javadocs"
1+ name : ' Generate Javadocs'
22on :
33 release :
44 types : [released]
1313 - name : set up JDK 11
1414 uses : actions/setup-java@v2
1515 with :
16- distribution : " adopt"
17- java-version : " 11 "
16+ distribution : ' adopt'
17+ java-version : ' 11 '
1818
1919 - name : Cache Gradle packages
2020 uses : actions/cache@v2
3030 run : |
3131 ./gradlew aggregateJavadocs
3232 - name : Deploy
33- uses : JamesIves/github-pages-deploy-action@3.7.1
33+ uses : JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # pin@ 3.7.1
3434 with :
3535 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3636 BRANCH : gh-pages
Original file line number Diff line number Diff line change 1- name : " Validate Gradle Wrapper"
1+ name : ' Validate Gradle Wrapper'
22on :
33 push :
44 branches :
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
14- - uses : gradle/wrapper-validation-action@v1
14+ - uses : gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b # pin@ v1
Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ jobs:
3636 run : make stop
3737
3838 - name : Run All Tests in SauceLab
39- uses : saucelabs/saucectl-run-action@v1
39+ uses : saucelabs/saucectl-run-action@9f8b2c03deea98eb6db7b75bffb1595f2da535db # pin@ v1
4040 if : github.event_name != 'pull_request'
4141 with :
4242 sauce-username : ${{ secrets.SAUCE_USERNAME }}
4343 sauce-access-key : ${{ secrets.SAUCE_ACCESS_KEY }}
4444 config-file : .sauce/sentry-uitest-android-benchmark.yml
4545
4646 - name : Run one test in SauceLab
47- uses : saucelabs/saucectl-run-action@v1
47+ uses : saucelabs/saucectl-run-action@9f8b2c03deea98eb6db7b75bffb1595f2da535db # pin@ v1
4848 if : github.event_name == 'pull_request'
4949 with :
5050 sauce-username : ${{ secrets.SAUCE_USERNAME }}
Original file line number Diff line number Diff line change 1- name : " Integration Tests - Ui tests"
1+ name : ' Integration Tests - Ui tests'
22on :
33 push :
44 branches :
@@ -15,11 +15,11 @@ jobs:
1515 - name : Git checkout
1616 uses : actions/checkout@v2
1717
18- - name : " Set up Java: 11"
18+ - name : ' Set up Java: 11'
1919 uses : actions/setup-java@v2
2020 with :
21- java-version : " 11 "
22- distribution : " adopt"
21+ java-version : ' 11 '
22+ distribution : ' adopt'
2323
2424 # Clean, build and release a test apk
2525 - name : Make assembleUiTests
3131 run : make stop
3232
3333 - name : Run Tests in SauceLab
34- uses : saucelabs/saucectl-run-action@v1
34+ uses : saucelabs/saucectl-run-action@9f8b2c03deea98eb6db7b75bffb1595f2da535db # pin@ v1
3535 with :
3636 sauce-username : ${{ secrets.SAUCE_USERNAME }}
3737 sauce-access-key : ${{ secrets.SAUCE_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments