Skip to content

Commit

Permalink
github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shortishly committed Feb 8, 2022
1 parent 6862109 commit 96d2f2e
Show file tree
Hide file tree
Showing 7 changed files with 1,368 additions and 328 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
erlang.mk -diff
rebar.config -diff
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: make
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ xrefr
*.d
elvis
elvis.config
cover
\#*\#
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-*- mode: makefile-gmake -*-
# Copyright (c) 2016 Peter Morgan <[email protected]>
# Copyright (c) 2016-2022 Peter Morgan <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -16,13 +16,15 @@
PROJECT = any
TEST_DEPS = triq

COVER = 1

PLT_APPS = \
compiler \
crypto \
hipe \
syntax_tools

include erlang.mk

# Generate rebar.config on build.
app:: rebar.config

all:: dialyze tests
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Any

![main](https://github.com/shortishly/any/actions/workflows/main.yml/badge.svg)

Convert a list or binary representing an integer, float or atom into
an integer, float or atom and vise versa.

Expand Down Expand Up @@ -46,3 +48,4 @@ false
17> any:to_boolean(true).
true
```
Loading

0 comments on commit 96d2f2e

Please sign in to comment.