From 904c1649ba59547bdc16fbcb68d9de8d0753a3bc Mon Sep 17 00:00:00 2001 From: Daniel Karrasch Date: Wed, 26 Jun 2024 20:05:31 +0200 Subject: [PATCH] Streamline ci.yml --- .github/workflows/ci.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b38997fb..5c1b3b02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,16 @@ on: - master pull_request: +permissions: + actions: write + contents: read + jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.version == 'nightly' }} strategy: - fail-fast: false matrix: version: - '1.6' @@ -20,19 +23,23 @@ jobs: - 'nightly' os: - ubuntu-latest - - macOS-latest - - windows-latest + include: + - os: windows-latest + version: '1' + - os: macOS-latest + version: '1' steps: - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@latest + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - uses: julia-actions/cache@v2 - - uses: julia-actions/julia-buildpkg@latest - - uses: julia-actions/julia-runtest@latest + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v4 if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }} with: - token: ${{ secrets.CODECOV_TOKEN }} file: lcov.info + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}