diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..2c48305b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + groups: + github-actions: + patterns: ["*"] + schedule: + interval: "weekly" + cooldown: + default-days: 7 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 87ec8944..57bd89c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,10 +19,10 @@ jobs: GPT_ONNX_FNAME: gpt2-10.onnx steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4 with: python-version: ${{ env.PY_VERSION }} @@ -33,7 +33,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Cache pip - uses: actions/cache@v2 + uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 with: path: ${{ steps.cache_pip.outputs.dir }} key: ${{ runner.os }}-pip-${{ env.PY_VERSION }}-${{ hashFiles('**/requirements.txt') }} @@ -47,7 +47,7 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Cache GPT ONNX file (needed for tests) - uses: actions/cache@v2 + uses: actions/cache@8492260343ad570701412c2f464a5877dc76bace # v2 with: path: ${{ env.GPT_ONNX_FNAME }} key: ${{ env.GPT_ONNX_COMMIT }}