diff --git a/.github/workflows/baisc_checks.yml b/.github/workflows/baisc_checks.yml index 8890d2d456..5f613644e0 100644 --- a/.github/workflows/baisc_checks.yml +++ b/.github/workflows/baisc_checks.yml @@ -16,14 +16,15 @@ jobs: - uses: actions/checkout@v2 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.18 + cache: true - name: install deps run: | sudo apt-get update - sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y && sudo apt upgrade -y + sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y - name: Build env: @@ -48,4 +49,4 @@ jobs: - name: Detect changes run: | git status --porcelain - test -z "$(git status --porcelain)" \ No newline at end of file + test -z "$(git status --porcelain)" diff --git a/.github/workflows/common_build_upload.yml b/.github/workflows/common_build_upload.yml index 557d75f8a4..62891c4c2e 100644 --- a/.github/workflows/common_build_upload.yml +++ b/.github/workflows/common_build_upload.yml @@ -109,9 +109,10 @@ jobs: echo ftp_url = ftp://${{secrets.FTP_HOST}}/${{steps.vars.outputs.repo_name}}/${{steps.vars.outputs.artifact_name}} - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.18 + cache: true - name: install deps if: ${{ !inputs.has_ffi }} @@ -123,7 +124,7 @@ jobs: if: ${{ inputs.has_ffi }} run: | sudo apt-get update - sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y && sudo apt upgrade -y + sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y - name: Build run: | @@ -245,9 +246,10 @@ jobs: echo vars.artifact_name = ${{steps.vars.outputs.artifact_name}} - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.18 + cache: true - name: install more deps if: ${{ inputs.has_ffi }} diff --git a/.github/workflows/common_go.yml b/.github/workflows/common_go.yml index 33a88bc86a..463ed43a08 100644 --- a/.github/workflows/common_go.yml +++ b/.github/workflows/common_go.yml @@ -20,9 +20,10 @@ jobs: - uses: actions/checkout@v2 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.18 + cache: true - name: vars id: vars @@ -35,7 +36,7 @@ jobs: echo vars.repo_name = ${{steps.vars.outputs.repo_name}} - name: install default deps - run: sudo apt-get -o Acquire::Retries=3 update && sudo apt-get -o Acquire::Retries=3 install make ftp git bzr curl wget -y && sudo apt upgrade -y + run: sudo apt-get -o Acquire::Retries=3 update && sudo apt-get -o Acquire::Retries=3 install make ftp git bzr curl wget -y - name: install deps if: ${{ inputs.has_ffi }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7bb0f48b93..705f91a006 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,14 +16,15 @@ jobs: - uses: actions/checkout@v2 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.18 + cache: true - name: install deps run: | sudo apt-get update - sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y && sudo apt upgrade -y + sudo apt-get -o Acquire::Retries=3 install make ncftp mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y - name: install statediff globally run: |