@@ -16,72 +16,65 @@ jobs:
1616 name : Lint
1717 runs-on : ubuntu-latest
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2020
21- - uses : actions/setup-go@v5
22- with :
23- go-version-file : ' go.mod'
21+ - uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
22+ with :
23+ go-version-file : ' go.mod'
2424
25- - name : golangci-lint
26- uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
27- with :
28- version : latest
25+ - name : golangci-lint
26+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
27+ with :
28+ version : latest
2929
30- - uses : actions/setup-node@v4
31- with :
32- node-version : ' 20'
30+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
31+ with :
32+ node-version : ' 20'
3333
34- - name : Install prettier
35- run : npm install --no-save prettier
34+ - name : Install prettier
35+ run : npm install --no-save prettier
3636
37- - name : Check markdown formatting
38- run : |
39- npx prettier --check "**/*.md" || (echo "Please run 'npx prettier --write \"**/*.md\"' to format your markdown files" && exit 1)
37+ - name : Check markdown formatting
38+ run : |
39+ npx prettier --check "**/*.md" || (echo "Please run 'npx prettier --write \"**/*.md\"' to format your markdown files" && exit 1)
4040
4141 test :
4242 name : Test
4343 runs-on : ubuntu-latest
4444 steps :
45- - uses : actions/checkout@v4
46-
47- - uses : actions/setup-go@v5
48- with :
49- go-version-file : ' go.mod'
50-
51- - name : Download dependencies
52- run : go mod download
53-
54- - name : Run fast tests
55- run : go test -v -race ./internal/...
56-
57- - uses : getsentry/action-github-app-token@a0061014b82a6a5d6aeeb3b824aced47e3c3a7ef
58- id : get_app_token
59- with :
60- app_id : ${{ secrets.REMOTEPROC_RUNTIME_REPO_ACCESS_APP_ID }}
61- private_key : ${{ secrets.REMOTEPROC_RUNTIME_REPO_ACCESS_PRIVATE_KEY }}
62-
63- - name : Download Remoteproc Simulator
64- uses : robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
65- with :
66- repository : Arm-Debug/remoteproc-simulator
67- latest : true
68- fileName : remoteproc-simulator_*_linux_amd64.tar.gz
69- out-file-path : remoteproc-simulator
70- extract : true
71- token : ${{ steps.get_app_token.outputs.token }}
72-
73- - name : Install Remoteproc Simulator
74- run : echo "$PWD/remoteproc-simulator" >> $GITHUB_PATH
75-
76- - name : Set up Lima
77- uses : lima-vm/lima-actions/setup@03b96d61959e83b2c737e44162c3088e81de0886 # v1.0.1
78- id : lima-actions-setup
79-
80- - name : Cache ~/.cache/lima
81- uses : actions/cache@v4
82- with :
83- path : ~/.cache/lima
84- key : lima-${{ steps.lima-actions-setup.outputs.version }}
85-
86- - name : Run e2e tests
87- run : go test -v ./e2e/...
45+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
46+
47+ - uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
48+ with :
49+ go-version-file : ' go.mod'
50+
51+ - name : Download dependencies
52+ run : go mod download
53+
54+ - name : Run fast tests
55+ run : go test -v -race ./internal/...
56+
57+ - name : Download Remoteproc Simulator
58+ uses : robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
59+ with :
60+ repository : arm/remoteproc-simulator
61+ latest : true
62+ fileName : remoteproc-simulator_*_linux_amd64.tar.gz
63+ out-file-path : remoteproc-simulator
64+ extract : true
65+
66+ - name : Install Remoteproc Simulator
67+ run : echo "$PWD/remoteproc-simulator" >> $GITHUB_PATH
68+
69+ - name : Set up Lima
70+ uses : lima-vm/lima-actions/setup@03b96d61959e83b2c737e44162c3088e81de0886 # v1.0.1
71+ id : lima-actions-setup
72+
73+ - name : Cache ~/.cache/lima
74+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
75+ with :
76+ path : ~/.cache/lima
77+ key : lima-${{ steps.lima-actions-setup.outputs.version }}
78+
79+ - name : Run e2e tests
80+ run : go test -v ./e2e/...
0 commit comments