File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -177,3 +177,27 @@ jobs:
177
177
exit $exit_code
178
178
fi
179
179
done
180
+ update :
181
+ permissions :
182
+ contents : write # to fetch and commit code
183
+ actions : write # to manually dispatch checks on the pull request
184
+ pull-requests : write # Create pull requests
185
+ runs-on : ubuntu-latest
186
+ steps :
187
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
188
+ with :
189
+ persist-credentials : false
190
+ - uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
191
+ with :
192
+ go-version : stable
193
+ check-latest : true
194
+ - run : ./scripts/run_tests.sh || true
195
+ env :
196
+ TEST_ACCEPTANCE : true
197
+ TEST_VCR_MODE : recordonly
198
+ UPDATE_SNAPS : always
199
+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
200
+ with :
201
+ name : vcr-testdata-${{ github.run_number }}-${{ github.run_attempt }}
202
+ path : cmd/osv-scanner/**/testdata/cassettes/*.yaml
203
+ retention-days : 1
You can’t perform that action at this time.
0 commit comments