From e40932784ea26fe9d0a6b273f17d060bb0602dec Mon Sep 17 00:00:00 2001 From: pacien Date: Sun, 4 Sep 2022 17:57:52 +0200 Subject: github: add pull-request template with checklist To act as a constant reminder to keep the changelog up to date in particular… --- .../PULL_REQUEST_TEMPLATE/pull_request_template.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE/pull_request_template.md (limited to '.github') diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md new file mode 100644 index 0000000..7c48653 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -0,0 +1,20 @@ +--- +name: Generic pull request +about: Create a pull request to propose some changes. +title: '' +labels: '' +assignees: '' +--- + +### What changed + + +### Why the changes + + +### Before-merge checklist + +- [ ] Changes are tested. +- [ ] Documentation is up to date with the changes. +- [ ] Commit history is clean and descriptive. + -- cgit v1.2.3 From ccecb60aa4103669f84692f6b8af754a6365cb5d Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 11 Nov 2022 01:50:08 +0100 Subject: ci/compiler: update ghc version to match the stackage lts --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5ca509..e19a44e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: key: compiler-${{ runner.os }}-${{ hashFiles('compiler/stack.yaml') }} - uses: haskell/actions/setup@v1 with: - ghc-version: 8.10.4 + ghc-version: 9.0.2 enable-stack: true - name: Build Haskell Stack project working-directory: compiler -- cgit v1.2.3 From 2106fcac20ffd1719a3dd187a61e0462dd5e6000 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 11 Nov 2022 02:02:49 +0100 Subject: ci: update github workflow action versions Getting rid of some some deprecation warnings. GitHub: closes #350 --- .github/workflows/build.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e19a44e..12bc7a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,8 +5,8 @@ jobs: build-viewer: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: # Latest version officially tested for Ld node-version: 16.14.2 @@ -16,7 +16,7 @@ jobs: yarn yarn run lint yarn run build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: viewer-dist path: viewer/dist @@ -30,12 +30,12 @@ jobs: os: [ ubuntu-20.04, windows-2019 ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: ~/.stack key: compiler-${{ runner.os }}-${{ hashFiles('compiler/stack.yaml') }} - - uses: haskell/actions/setup@v1 + - uses: haskell/actions/setup@v2 with: ghc-version: 9.0.2 enable-stack: true @@ -49,7 +49,7 @@ jobs: --flag ldgallery-compiler:portable \ --copy-bins \ --local-bin-path dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: compiler-dist-${{ matrix.os }} path: compiler/dist @@ -60,14 +60,14 @@ jobs: needs: [ build-viewer, build-compiler ] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Bundle ldgallery viewer - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: viewer-dist path: dist/viewer - name: Bundle ldgallery compiler - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: compiler-dist-ubuntu-20.04 path: dist @@ -82,7 +82,7 @@ jobs: pandoc --standalone --to man viewer/ldgallery-viewer.7.md --output dist/ldgallery-viewer.7 cp changelog.md dist/ cp license.md dist/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: archive-linux-amd64 path: dist @@ -91,18 +91,18 @@ jobs: needs: [ build-viewer, build-compiler ] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: ~/downloads key: archive-windows-vendored - name: Bundle ldgallery viewer - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: viewer-dist path: dist/viewer - name: Bundle ldgallery compiler - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: compiler-dist-windows-2019 path: dist @@ -135,7 +135,7 @@ jobs: 7z e ~/downloads/"$MAGICK_LATEST" -so LICENSE.txt > dist/magick.license.txt 7z e ~/downloads/"$MAGICK_LATEST" -so NOTICE.txt > dist/magick.notice.txt 7z e ~/downloads/"$MAGICK_LATEST" -so README.txt > dist/magick.readme.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: archive-win64 path: dist -- cgit v1.2.3 From c7a276ec89f081ddf941b433d7485593d483de88 Mon Sep 17 00:00:00 2001 From: pacien Date: Thu, 1 Dec 2022 22:37:18 +0100 Subject: ci: update ghc version --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12bc7a1..7387fe7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: key: compiler-${{ runner.os }}-${{ hashFiles('compiler/stack.yaml') }} - uses: haskell/actions/setup@v2 with: - ghc-version: 9.0.2 + ghc-version: 9.2.4 enable-stack: true - name: Build Haskell Stack project working-directory: compiler -- cgit v1.2.3