mirror of
https://github.com/xmonad/xmonad.git
synced 2025-05-19 08:30:21 -07:00
ci: Bump actions/* to v3 in haskell-ci workflow
This gets rid of the deprecation warnings about https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
parent
d0942e37ad
commit
2502fd8d55
23
.github/workflows/haskell-ci-dependabot.patch
vendored
Normal file
23
.github/workflows/haskell-ci-dependabot.patch
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Bump some GitHub Actions versions to prevent Dependabot from opening pull
|
||||||
|
requests every time we regenerate the haskell-ci workflow.
|
||||||
|
|
||||||
|
--- .github/workflows/haskell-ci.yml.orig
|
||||||
|
+++ .github/workflows/haskell-ci.yml
|
||||||
|
@@ -190,7 +190,7 @@ jobs:
|
||||||
|
chmod a+x $HOME/.cabal/bin/cabal-plan
|
||||||
|
cabal-plan --version
|
||||||
|
- name: checkout
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
+ uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
path: source
|
||||||
|
- name: autoreconf
|
||||||
|
@@ -231,7 +231,7 @@ jobs:
|
||||||
|
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
|
||||||
|
cabal-plan
|
||||||
|
- name: cache
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
+ uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
|
||||||
|
path: ~/.cabal/store
|
4
.github/workflows/haskell-ci-hackage.patch
vendored
4
.github/workflows/haskell-ci-hackage.patch
vendored
@ -57,12 +57,12 @@ set in GitHub repository secrets.
|
|||||||
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
|
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
|
||||||
+ - name: upload artifacts (sdist)
|
+ - name: upload artifacts (sdist)
|
||||||
+ if: matrix.upload
|
+ if: matrix.upload
|
||||||
+ uses: actions/upload-artifact@v2
|
+ uses: actions/upload-artifact@v3
|
||||||
+ with:
|
+ with:
|
||||||
+ path: ${{ github.workspace }}/sdist/*.tar.gz
|
+ path: ${{ github.workspace }}/sdist/*.tar.gz
|
||||||
+ - name: upload artifacts (haddock)
|
+ - name: upload artifacts (haddock)
|
||||||
+ if: matrix.upload
|
+ if: matrix.upload
|
||||||
+ uses: actions/upload-artifact@v2
|
+ uses: actions/upload-artifact@v3
|
||||||
+ with:
|
+ with:
|
||||||
+ path: ${{ github.workspace }}/haddock/*-docs.tar.gz
|
+ path: ${{ github.workspace }}/haddock/*-docs.tar.gz
|
||||||
+ - name: hackage upload (candidate)
|
+ - name: hackage upload (candidate)
|
||||||
|
8
.github/workflows/haskell-ci.yml
vendored
8
.github/workflows/haskell-ci.yml
vendored
@ -170,7 +170,7 @@ jobs:
|
|||||||
chmod a+x $HOME/.cabal/bin/cabal-plan
|
chmod a+x $HOME/.cabal/bin/cabal-plan
|
||||||
cabal-plan --version
|
cabal-plan --version
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: source
|
path: source
|
||||||
- name: initial cabal.project for sdist
|
- name: initial cabal.project for sdist
|
||||||
@ -210,7 +210,7 @@ jobs:
|
|||||||
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
|
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
|
||||||
cabal-plan
|
cabal-plan
|
||||||
- name: cache
|
- name: cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
|
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
|
||||||
path: ~/.cabal/store
|
path: ~/.cabal/store
|
||||||
@ -241,12 +241,12 @@ jobs:
|
|||||||
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
|
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
|
||||||
- name: upload artifacts (sdist)
|
- name: upload artifacts (sdist)
|
||||||
if: matrix.upload
|
if: matrix.upload
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/sdist/*.tar.gz
|
path: ${{ github.workspace }}/sdist/*.tar.gz
|
||||||
- name: upload artifacts (haddock)
|
- name: upload artifacts (haddock)
|
||||||
if: matrix.upload
|
if: matrix.upload
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/haddock/*-docs.tar.gz
|
path: ${{ github.workspace }}/haddock/*-docs.tar.gz
|
||||||
- name: hackage upload (candidate)
|
- name: hackage upload (candidate)
|
||||||
|
@ -6,6 +6,7 @@ apt:
|
|||||||
libxss-dev
|
libxss-dev
|
||||||
|
|
||||||
github-patches:
|
github-patches:
|
||||||
|
.github/workflows/haskell-ci-dependabot.patch
|
||||||
.github/workflows/haskell-ci-hackage.patch
|
.github/workflows/haskell-ci-hackage.patch
|
||||||
|
|
||||||
raw-project
|
raw-project
|
||||||
|
Loading…
x
Reference in New Issue
Block a user