Skip to content

Commit

Permalink
update gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
prbzrg committed Oct 15, 2024
1 parent 8f2e6b7 commit 315881d
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 67 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/Benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/install-juliaup@v2
with:
version: '1'
arch: x64
show-versioninfo: true
channel: '1'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- name: Install dependencies
Expand Down
20 changes: 3 additions & 17 deletions .github/workflows/CI-ENH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: ${{ matrix.group }} Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: ${{ matrix.group }} Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -30,28 +30,14 @@ jobs:
- ubuntu-latest
# - macOS-latest
# - windows-latest
arch:
- x64
# - x86
# exclude:
# - os: macOS-latest
# arch: x86
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/install-juliaup@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
show-versioninfo: true
channel: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
check_bounds: yes
coverage: true
depwarn: yes
inline: yes
annotate: true
env:
GROUP: ${{ matrix.group }}
- uses: julia-actions/julia-processcoverage@v1
Expand Down
20 changes: 3 additions & 17 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: ${{ matrix.group }} Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
name: ${{ matrix.group }} Tests - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -35,28 +35,14 @@ jobs:
- ubuntu-latest
# - macOS-latest
# - windows-latest
arch:
- x64
# - x86
# exclude:
# - os: macOS-latest
# arch: x86
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/install-juliaup@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
show-versioninfo: true
channel: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
check_bounds: yes
coverage: true
depwarn: yes
inline: yes
annotate: true
env:
GROUP: ${{ matrix.group }}
- uses: julia-actions/julia-processcoverage@v1
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/install-juliaup@v2
with:
version: '1'
arch: x64
show-versioninfo: true
channel: '1'
- uses: julia-actions/cache@v2
- name: Pkg.add
shell: julia --color=yes {0}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/install-juliaup@v2
with:
version: '1'
arch: x64
show-versioninfo: true
channel: '1'
- uses: julia-actions/cache@v2
- name: Configure doc environment
shell: julia --project=docs --color=yes {0}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/Formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/install-juliaup@v2
with:
version: '1'
arch: x64
show-versioninfo: true
channel: '1'
- uses: julia-actions/cache@v2
- name: Install JuliaFormatter and format
shell: julia --color=yes {0}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/Invalidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/install-juliaup@v2
with:
version: '1'
arch: x64
show-versioninfo: true
channel: '1'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-invalidations@v1
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@ on:
inputs:
lookback:
default: "3"
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand Down

0 comments on commit 315881d

Please sign in to comment.