-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove travis.yml and add elements to gitignore
- Loading branch information
Alexander Mejia
committed
Mar 31, 2023
1 parent
0728fad
commit dc03f51
Showing
4 changed files
with
81 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# The present workflow was made based on the following references: | ||
# - https://github.com/stackbuilders/hapistrano/blob/master/.github/workflows/build.yml | ||
--- | ||
name: build | ||
|
||
on: push | ||
|
||
concurrency: | ||
group: build-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
haskell: | ||
strategy: | ||
matrix: | ||
ghc: | ||
- "8.10" | ||
- "8.4.3" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Haskell tooling | ||
uses: haskell/actions/setup@v2 | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
cabal-version: "3.6" | ||
- name: Configure project | ||
run: cabal configure --enable-tests | ||
- name: Build project | ||
run: cabal build | ||
- name: Run tests | ||
run: cabal test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# The present workflow was made based on the following references: | ||
# - https://github.com/tfausak/strive/blob/main/.github/workflows/ci.yaml | ||
# - https://hackage.haskell.org/upload | ||
--- | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
concurrency: | ||
group: release-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
cabal-upload: | ||
uses: stackbuilders/reusable-workflows/.github/workflows/cabal-upload.yml@main | ||
with: | ||
ghc_version: "8.10" | ||
cabal_version: "3.6" | ||
ignore_uploaded_package: true | ||
secrets: | ||
HACKAGE_USERNAME: ${{ secrets.HACKAGE_USERNAME }} | ||
HACKAGE_PASSWORD: ${{ secrets.HACKAGE_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
.stack-work/ | ||
dist | ||
dist-* | ||
cabal-dev | ||
*.o | ||
*.hi | ||
*.hie | ||
*.chi | ||
*.chs.h | ||
*.dyn_o | ||
*.dyn_hi | ||
.hpc | ||
.hsenv | ||
.cabal-sandbox/ | ||
cabal.sandbox.config | ||
*.prof | ||
*.aux | ||
*.hp | ||
*.eventlog | ||
.stack-work/ | ||
cabal.project.local | ||
cabal.project.local~ | ||
.HTF/ | ||
.ghc.environment.* |
This file was deleted.
Oops, something went wrong.