message: Use actions-cache for make lint
diff: @@ -50,15 +50,19 @@ jobs:
  tar xf /opt/llvm.tar.xz --strip-components=1 -C /opt/llvm-12
  echo '/opt/llvm-12/bin' >> $GITHUB_PATH
  echo 'LLVM_SYS_120_PREFIX=/opt/llvm-12' >> $GITHUB_ENV
  - - name: Retrieve cache
  - uses: nipeharefa/action-s3-cache@3a7820623d50d36656b0ba7705c0208f2257028a
  + - name: Cache
  + uses: whywaita/actions-cache-s3@v2
  with:
  - action: get
  + path: |
  + ~/.cargo/*
  + ./target/*
  + key: ${{ github.repository }}-${{ runner.os }}-wasmer-make-lint-linux-x64
  + aws-s3-bucket: wasmer-rust-artifacts-cache
  aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
  aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}
  - bucket: wasmer-rust-artifacts-cache
  - key: wasmer-make-lint-linux-x64
  - endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
  + aws-endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
  + aws-s3-bucket-endpoint: true
  + aws-s3-force-path-style: true
  - run: make lint
  env:
  ENABLE_CRANELIFT: "1"
  @@ -68,19 +72,6 @@ jobs:
  run: |
  git status
  ! [[ $(git status -s) ]]
  - - name: Upload cache
  - uses: nipeharefa/action-s3-cache@3a7820623d50d36656b0ba7705c0208f2257028a
  - with:
  - action: put
  - aws-access-key-id: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_TOKEN }}
  - aws-secret-access-key: ${{ secrets.CLOUDFLARE_ARTIFACTS_CACHE_ACCESS_KEY }}
  - bucket: wasmer-rust-artifacts-cache
  - s3-class: STANDARD_IA
  - key: wasmer-make-lint-linux-x64
  - artifacts: |
  - ~/.cargo/*
  - ./target/*
  - endpoint: https://1541b1e8a3fc6ad155ce67ef38899700.r2.cloudflarestorage.com
  cargo_deny:
  name: cargo-deny
  