Skip to content

Commit

Permalink
use latest autotests
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrodriges authored Oct 17, 2023
1 parent 18480fe commit 2f872f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mertricstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
metricstest:
runs-on: ubuntu-latest
container: golang:1.20
container: golang:1.21
needs: branchtest

services:
Expand All @@ -38,10 +38,10 @@ jobs:
uses: actions/checkout@v2

- name: Download autotests binaries
uses: robinraju/release-downloader@v1.7
uses: robinraju/release-downloader@v1

This comment has been minimized.

Copy link
@Dmitrevicz

Dmitrevicz Oct 19, 2023

@bbrodriges, эта строка (замена v1.7 на v1) сломала запуск автотестов. Job падает на этапе "Setup autotest binary" со следующим выводом:

Run chmod -R +x $GITHUB_WORKSPACE/.tools
  chmod -R +x $GITHUB_WORKSPACE/.tools
  mv $GITHUB_WORKSPACE/.tools/metricstest /usr/local/bin/metricstest
  mv $GITHUB_WORKSPACE/.tools/random /usr/local/bin/random
  shell: sh -e {0}
mv: cannot stat '/__w/gometrics/gometrics/.tools/metricstest': No such file or directory
Error: Process completed with exit code 1.

В своём проекте вернул обратно на v1.7 и всё заработало.

with:
repository: Yandex-Practicum/go-autotests
tag: refactor
latest: true
fileName: "*"
out-file-path: .tools
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/statictest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
jobs:
statictest:
runs-on: ubuntu-latest
container: golang:1.20
container: golang:1.21
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Download statictest binary
uses: robinraju/release-downloader@v1.7
uses: robinraju/release-downloader@v1
with:
repository: Yandex-Practicum/go-autotests
tag: refactor
latest: true
fileName: statictest
out-file-path: .tools
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2f872f0

Please sign in to comment.