Compare commits

..

2 Commits

Author SHA1 Message Date
frichtarik
91cb9b828c
Merge 15babb858a into aadc3a98df 2024-02-03 02:05:00 +00:00
Filip Richtarik
15babb858a fix: downloads 2024-02-03 03:04:41 +01:00
11 changed files with 1141 additions and 864 deletions

View File

@ -8,7 +8,7 @@ on:
jobs: jobs:
CodeQL-Build: CodeQL-Build:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -10,7 +10,7 @@ permissions:
jobs: jobs:
dependency-review: dependency-review:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/dependency-review-action@v4 - uses: actions/dependency-review-action@v4

View File

@ -23,7 +23,7 @@ on:
jobs: jobs:
dev-image-test: dev-image-test:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: make build - run: make build

View File

@ -12,7 +12,7 @@ on:
jobs: jobs:
comment: comment:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:

View File

@ -6,7 +6,7 @@ on:
jobs: jobs:
purge: purge:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- run: > - run: >

View File

@ -7,7 +7,7 @@ on:
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -11,13 +11,14 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- 'ubuntu-22.04'
- 'ubuntu-20.04' - 'ubuntu-20.04'
- 'ubuntu-latest' - 'ubuntu-latest'
- 'macos-latest' - 'macos-latest'
- 'windows-latest' - 'windows-latest'
hugo-version: hugo-version:
- 'latest' - 'latest'
- '0.103.0' - '0.61.0'
extended: extended:
- true - true
- false - false

View File

@ -16,6 +16,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- 'ubuntu-22.04'
- 'ubuntu-20.04' - 'ubuntu-20.04'
- 'ubuntu-latest' - 'ubuntu-latest'
- 'macos-latest' - 'macos-latest'
@ -35,23 +36,23 @@ jobs:
- run: npm ci - run: npm ci
- name: Run prettier - name: Run prettier
if: startsWith(matrix.os, 'ubuntu-latest') if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run format:check run: npm run format:check
- name: Run eslint - name: Run eslint
if: startsWith(matrix.os, 'ubuntu-latest') if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run lint run: npm run lint
- name: Run ncc - name: Run ncc
if: startsWith(matrix.os, 'ubuntu-latest') if: startsWith(matrix.os, 'ubuntu-22.04')
run: npm run build run: npm run build
- run: npm test - run: npm test
- name: Upload test coverage as artifact - name: Upload test coverage as artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: coverage-${{ matrix.os }} name: coverage-${{ matrix.os }}
path: coverage path: coverage
- uses: codecov/codecov-action@v4 - uses: codecov/codecov-action@v3

View File

@ -6,7 +6,7 @@ on:
jobs: jobs:
update: update:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -24,7 +24,7 @@ We no longer build or pull a Hugo docker image.
Thanks to this change, we can complete this action in less than a few seconds. Thanks to this change, we can complete this action in less than a few seconds.
(A docker base action was taking about 1 min or more execution time to build and pull a docker image.) (A docker base action was taking about 1 min or more execution time to build and pull a docker image.)
| OS (runs-on) | ubuntu-latest, ubuntu-20.04 | macos-latest | windows-latest | | OS (runs-on) | ubuntu-latest, ubuntu-20.04, ubuntu-22.04 | macos-latest | windows-2019 |
|---|:---:|:---:|:---:| |---|:---:|:---:|:---:|
| Support | ✅️ | ✅️ | ✅️ | | Support | ✅️ | ✅️ | ✅️ |
@ -81,7 +81,7 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
@ -154,7 +154,7 @@ Insert a cache step before site-building as follows.
Note that with latest hugo version, the [cache dir location](https://gohugo.io/getting-started/configuration/#configure-cachedir) on a Linux-based operating system is `${HOME}/.cache`. On macOS, `${HOME}/Library/Caches` has the location. Note that with latest hugo version, the [cache dir location](https://gohugo.io/getting-started/configuration/#configure-cachedir) on a Linux-based operating system is `${HOME}/.cache`. On macOS, `${HOME}/Library/Caches` has the location.
```yaml ```yaml
- uses: actions/cache@v4 - uses: actions/cache@v3
with: with:
path: /home/runner/.cache/hugo_cache # <-- with hugo version v0.116.0 and above path: /home/runner/.cache/hugo_cache # <-- with hugo version v0.116.0 and above
# path: /tmp/hugo_cache # <-- with hugo version < v0.116.0 # path: /tmp/hugo_cache # <-- with hugo version < v0.116.0
@ -247,7 +247,7 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
@ -262,7 +262,7 @@ jobs:
extended: true extended: true
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v3
with: with:
node-version: '18' node-version: '18'
cache: 'npm' cache: 'npm'
@ -301,7 +301,7 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:
@ -353,7 +353,7 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
steps: steps:

1961
package-lock.json generated

File diff suppressed because it is too large Load Diff