@@ -14,24 +14,24 @@ jobs:
1414 packages : write
1515 steps :
1616 - name : Checkout repository
17- uses : actions/checkout@v3
17+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1818 - name : Set up Docker Buildx
19- uses : docker/setup-buildx-action@v3
19+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
2020 - name : Log in to the Container registry
21- uses : docker/login-action@v3
21+ uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
2222 with :
2323 registry : ghcr.io
2424 username : ${{ github.actor }}
2525 password : ${{ secrets.GITHUB_TOKEN }}
2626 - name : Extract metadata (tags, labels) for Docker
2727 id : meta
28- uses : docker/metadata-action@v5
28+ uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
2929 with :
3030 images : ghcr.io/mlcommons/mobile_app_open-formatter
3131 flavor : latest=true
3232 tags : type=raw,value=${{ github.run_number }}
3333 - name : Build and push Docker image
34- uses : docker/build-push-action@v5
34+ uses : docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
3535 with :
3636 context : tools/formatter
3737 file : tools/formatter/Dockerfile
4848 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
4949 timeout-minutes : 10
5050 steps :
51- - uses : actions/checkout@v3
51+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
5252 - name : configure Git
5353 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5454 - name : bazel
6262 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
6363 timeout-minutes : 10
6464 steps :
65- - uses : actions/checkout@v3
65+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
6666 - name : configure Git
6767 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
6868 - name : clang
@@ -75,11 +75,11 @@ jobs:
7575 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
7676 timeout-minutes : 10
7777 steps :
78- - uses : actions/checkout@v3
78+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
7979 - name : configure Git
8080 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
8181 - name : Cache Flutter packages
82- uses : actions/cache@v4
82+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
8383 with :
8484 path : /home/mlperf/.pub-cache
8585 key : ${{ runner.os }}-pub-cache-${{ hashFiles('**/pubspec.lock') }}
9898 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
9999 timeout-minutes : 10
100100 steps :
101- - uses : actions/checkout@v3
101+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
102102 - name : configure Git
103103 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
104104 - name : swift
@@ -111,7 +111,7 @@ jobs:
111111 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
112112 timeout-minutes : 10
113113 steps :
114- - uses : actions/checkout@v3
114+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
115115 - name : configure Git
116116 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
117117 - name : markdown-format
@@ -124,7 +124,7 @@ jobs:
124124 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
125125 timeout-minutes : 10
126126 steps :
127- - uses : actions/checkout@v3
127+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
128128 - name : configure Git
129129 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
130130 - name : pbtxt
@@ -137,7 +137,7 @@ jobs:
137137 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
138138 timeout-minutes : 10
139139 steps :
140- - uses : actions/checkout@v3
140+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
141141 - name : configure Git
142142 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
143143 - name : yaml
@@ -151,7 +151,7 @@ jobs:
151151 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
152152 timeout-minutes : 10
153153 steps :
154- - uses : actions/checkout@v3
154+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
155155 - name : configure Git
156156 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
157157 - name : typescripts
@@ -164,7 +164,7 @@ jobs:
164164 image : ghcr.io/mlcommons/mobile_app_open-formatter:${{ github.run_number }}
165165 timeout-minutes : 10
166166 steps :
167- - uses : actions/checkout@v3
167+ - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
168168 - name : configure Git
169169 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
170170 - name : prohibited-extensions
0 commit comments