Skip to content

Commit

Permalink
feat: add python cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kuisathaverat committed Jul 20, 2023
1 parent c358355 commit 949eb37
Show file tree
Hide file tree
Showing 33 changed files with 74 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check-audtibeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-dev-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-libbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
25 changes: 10 additions & 15 deletions .github/workflows/check-metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand All @@ -37,9 +36,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand All @@ -56,9 +54,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand All @@ -75,9 +72,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand All @@ -94,9 +90,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-dockerlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-functionbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-libbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-osquerybeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-xpack-winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-xpack-auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-xpack-filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-xpack-functionbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-xpack-heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-xpack-metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-xpack-osquerybeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos-xpack-packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- name: Install dependencies
run: go install github.com/magefile/mage
- name: Run build
Expand Down

0 comments on commit 949eb37

Please sign in to comment.