We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f80c527 + 74d0bfa commit a98b35eCopy full SHA for a98b35e
.github/workflows/maven.yml
@@ -3,9 +3,6 @@
3
4
name: Java CI
5
6
-permissions:
7
- contents: read
8
-
9
on:
10
push:
11
branches: [master]
@@ -18,6 +15,8 @@ env:
18
15
jobs:
19
16
verify:
20
17
runs-on: ubuntu-latest
+ permissions:
+ contents: read
21
steps:
22
- name: Checkout repository
23
uses: actions/checkout@v6.0.1
@@ -41,6 +40,8 @@ jobs:
41
40
coverage:
42
needs: verify
43
44
45
strategy:
46
matrix:
47
service: [codecov, codacy]
@@ -97,6 +98,8 @@ jobs:
97
98
push: true
99
platforms: linux/amd64
100
provenance: false
101
+ cache-from: type=gha
102
+ cache-to: type=gha,mode=max
103
tags: |
104
ghcr.io/${{ github.repository }}:latest
105
ghcr.io/${{ github.repository }}:sha-${{ github.sha }}
0 commit comments