Bump up version for new release (#172)
- Also add hlint to CI - Also update CI with latest action versions
This commit is contained in:
parent
d59f45fec4
commit
d82b093b6b
53
.github/workflows/ci.yml
vendored
53
.github/workflows/ci.yml
vendored
@ -24,8 +24,25 @@ jobs:
|
|||||||
ormolu:
|
ormolu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: mrkkrp/ormolu-action@v6
|
- uses: mrkkrp/ormolu-action@v6
|
||||||
|
|
||||||
|
hlint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: 'Set up HLint'
|
||||||
|
uses: haskell/actions/hlint-setup@v2
|
||||||
|
with:
|
||||||
|
version: '3.4'
|
||||||
|
|
||||||
|
- name: 'Run HLint'
|
||||||
|
uses: haskell/actions/hlint-run@v2
|
||||||
|
with:
|
||||||
|
path: '["src/", "test/", "examples"]'
|
||||||
|
fail-on: warning
|
||||||
|
|
||||||
cabal:
|
cabal:
|
||||||
name: ${{ matrix.os }} / ghc-${{ matrix.ghc }} / cabal-${{ matrix.cabal }}
|
name: ${{ matrix.os }} / ghc-${{ matrix.ghc }} / cabal-${{ matrix.cabal }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@ -50,10 +67,10 @@ jobs:
|
|||||||
# ghc: 8.6.5
|
# ghc: 8.6.5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
|
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
|
||||||
|
|
||||||
- uses: haskell/actions/setup@v1
|
- uses: haskell/actions/setup@v2
|
||||||
id: setup-haskell-cabal
|
id: setup-haskell-cabal
|
||||||
name: Setup Haskell
|
name: Setup Haskell
|
||||||
with:
|
with:
|
||||||
@ -68,11 +85,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cabal freeze
|
cabal freeze
|
||||||
|
|
||||||
- uses: actions/cache@v2.1.3
|
- uses: actions/cache@v3
|
||||||
name: Cache ~/.cabal/store
|
name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
|
path: |
|
||||||
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
|
~/.cabal/packages
|
||||||
|
~/.cabal/store
|
||||||
|
dist-newstyle
|
||||||
|
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
|
||||||
|
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@ -128,7 +149,6 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
stack: ["2.7.3"]
|
|
||||||
ghc:
|
ghc:
|
||||||
- "8.10.7"
|
- "8.10.7"
|
||||||
- "9.0.2"
|
- "9.0.2"
|
||||||
@ -139,18 +159,27 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
|
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
|
||||||
|
|
||||||
- uses: haskell/actions/setup@v1
|
- uses: haskell/actions/setup@v2
|
||||||
name: Setup Haskell Stack
|
name: Setup Haskell Stack
|
||||||
with:
|
with:
|
||||||
enable-stack: true
|
enable-stack: true
|
||||||
ghc-version: ${{ matrix.ghc }}
|
ghc-version: ${{ matrix.ghc }}
|
||||||
stack-version: ${{ matrix.stack }}
|
stack-version: 'latest'
|
||||||
|
|
||||||
- uses: actions/cache@v2.1.3
|
- uses: actions/cache@v3
|
||||||
name: Cache ~/.stack
|
name: Cache ~/.stack
|
||||||
with:
|
with:
|
||||||
path: ~/.stack
|
path: ~/.stack
|
||||||
key: ${{ runner.os }}-${{ matrix.ghc }}-stack
|
key: ${{ runner.os }}-stack-global-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-stack-global-
|
||||||
|
- uses: actions/cache@v3
|
||||||
|
name: Cache .stack-work
|
||||||
|
with:
|
||||||
|
path: .stack-work
|
||||||
|
key: ${{ runner.os }}-stack-work-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}-${{ hashFiles('**/*.hs') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-stack-work-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -1,6 +1,15 @@
|
|||||||
Changelog
|
Changelog
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
## Version 1.6.0
|
||||||
|
|
||||||
|
* HLint fixes - some types were changed to newtype (#173)
|
||||||
|
* Fix XML generation test for S3 SELECT (#161)
|
||||||
|
* Use region specific endpoints for AWS S3 in presigned Urls (#164)
|
||||||
|
* Replace protolude with relude and build with GHC 9.0.2 (#168)
|
||||||
|
* Support aeson 2 (#169)
|
||||||
|
* CI updates and code formatting changes with ormolu 0.5.0.0
|
||||||
|
|
||||||
## Version 1.5.3
|
## Version 1.5.3
|
||||||
|
|
||||||
* Fix windows build
|
* Fix windows build
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
cabal-version: 2.2
|
cabal-version: 2.2
|
||||||
name: minio-hs
|
name: minio-hs
|
||||||
version: 1.5.3
|
version: 1.6.0
|
||||||
synopsis: A MinIO Haskell Library for Amazon S3 compatible cloud
|
synopsis: A MinIO Haskell Library for Amazon S3 compatible cloud
|
||||||
storage.
|
storage.
|
||||||
description: The MinIO Haskell client library provides simple APIs to
|
description: The MinIO Haskell client library provides simple APIs to
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user