Skip to content

fix: update icloud location #453

fix: update icloud location

fix: update icloud location #453

Workflow file for this run

---
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
id: cache-pip
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt', '**/requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- uses: actions/cache@v3
id: cache-shellcheck
with:
path: bin/shellcheck
key: ${{ runner.os }}-shellcheck
restore-keys: |
${{ runner.os }}-shellcheck
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install virtualenv
run: |
sudo apt-get update && sudo apt-get install -y python3-setuptools python3-wheel
- name: Setup bin directories
run: |
mkdir -p "$(pwd)/bin"
export PATH=$(pwd)/bin:$HOME/.local/bin:$PATH
- name: Get shellcheck binary
if: steps.cache-shellcheck.outputs.cache-hit != 'true'
run: |
export SHELLCHECK_VERSION=v0.7.1
wget -qO- https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz | tar -xJv
mv "shellcheck-${SHELLCHECK_VERSION}/shellcheck" "$(pwd)/bin/shellcheck"
chmod +x "$(pwd)/bin/shellcheck"
- name: Install dependencies
run: |
make install
- name: Lint and test
run: |
timeout 1h make test