diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a913378..9901ca3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,16 +15,17 @@ jobs: fail-fast: false matrix: version: - - '1.0' - - '1' + - "1.0" # LTS + - "1" # Latest Release os: - ubuntu-latest - macOS-latest - windows-latest arch: - x64 - # 32-bit Julia binaries are not available on macOS + - x86 exclude: + # 32-bit Julia binaries are not available on macOS - os: macOS-latest arch: x86 steps: @@ -33,15 +34,16 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v2 env: cache-name: cache-artifacts with: path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- + ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}- + ${{ runner.os }}-${{ matrix.arch }}-test- + ${{ runner.os }}-${{ matrix.arch }}- ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 @@ -49,7 +51,7 @@ jobs: - uses: codecov/codecov-action@v1 with: file: lcov.info - + slack: name: Notify Slack Failure needs: test diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml index c13d6f3..031c92b 100644 --- a/.github/workflows/JuliaNightly.yml +++ b/.github/workflows/JuliaNightly.yml @@ -16,15 +16,16 @@ jobs: fail-fast: false matrix: version: - - 'nightly' + - "nightly" os: - ubuntu-latest - macOS-latest - windows-latest arch: - x64 - # 32-bit Julia binaries are not available on macOS + - x86 exclude: + # 32-bit Julia binaries are not available on macOS - os: macOS-latest arch: x86 steps: @@ -33,15 +34,16 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v2 env: cache-name: cache-artifacts with: path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + key: ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- + ${{ runner.os }}-${{ matrix.arch }}-test-${{ env.cache-name }}- + ${{ runner.os }}-${{ matrix.arch }}-test- + ${{ runner.os }}-${{ matrix.arch }}- ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1