Skip to content
Permalink
Browse files
[CI] Run apt update before apt install (#163)
  • Loading branch information
lidavidm committed Mar 15, 2022
1 parent 0ac2a79 commit 3ebd1e0e3945ff860dac5e913e3af78aff96ad8d
Showing 4 changed files with 14 additions and 9 deletions.
@@ -16,7 +16,9 @@ jobs:
- name: Setup pandoc
uses: r-lib/actions/setup-pandoc@v1
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip openjdk-11-jdk maven
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev python3-pip openjdk-11-jdk maven
- name: Run tests
run: make test
- name: Build and render books
@@ -24,7 +24,7 @@ on:
paths:
- "java/**"
- ".github/workflows/test_java_linux_cookbook.yml"

concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
@@ -40,9 +40,10 @@ jobs:
distribution: 'temurin'
java-version: '11'
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip maven
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev python3-pip maven
- name: Run tests
run: make javatest
- name: Build cookbook
run: make java

@@ -24,7 +24,7 @@ on:
paths:
- "python/**"
- ".github/workflows/test_python_cookbook.yml"

concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
@@ -36,9 +36,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev python3-pip
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev python3-pip
- name: Run tests
run: make pytest
- name: Build cookbook
run: make py

@@ -40,9 +40,10 @@ jobs:
- name: Setup pandoc
uses: r-lib/actions/setup-pandoc@v1
- name: Install dependencies
run: sudo apt install libcurl4-openssl-dev libssl-dev
run: |
sudo apt update
sudo apt install libcurl4-openssl-dev libssl-dev
- name: Run tests
run: make rtest
- name: Build cookbooks
run: make r

0 comments on commit 3ebd1e0

Please sign in to comment.