File 0004-Replace-Travis-CI-with-GitHub-Actions.patch of Package lager

From 4a9e19df89eebcef21fd008979bf47086dde8d5f Mon Sep 17 00:00:00 2001
From: "Paulo F. Oliveira" <paulo.ferraz.oliveira@gmail.com>
Date: Mon, 8 Feb 2021 01:30:21 +0000
Subject: [PATCH 3/4] Replace Travis CI with GitHub Actions

---
 .github/workflows/ci.yml | 25 +++++++++++++++++++++++++
 .travis.yml              |  6 ------
 README.md                |  2 +-
 3 files changed, 26 insertions(+), 7 deletions(-)
 create mode 100644 .github/workflows/ci.yml
 delete mode 100644 .travis.yml

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..da4bb72
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,25 @@
+---
+name: build
+on:
+  push:
+    branches:
+      - master
+  pull_request:
+    branches:
+      - master
+jobs:
+  ci:
+    name: >
+      Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
+    runs-on: ${{matrix.os}}
+    container:
+      image: erlang:${{matrix.otp_vsn}}
+      options: --user 1001
+    strategy:
+      matrix:
+        otp_vsn: [21.3, 22.3, 23.2]
+        os: [ubuntu-latest]
+    steps:
+      - uses: actions/checkout@v2
+      - run: rebar3 dialyzer
+      - run: rebar3 eunit
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 9d39d94..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-sudo: false
-language: erlang
-otp_release:
-  - 23.0
-  - 22.3
-  - 21.3
diff --git a/README.md b/README.md
index ba333cc..087880d 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ to provide a more traditional way to perform logging in an erlang application
 that plays nicely with traditional UNIX logging tools like logrotate and
 syslog.
 
-[Travis-CI](http://travis-ci.org/erlang-lager/lager) :: [![Build Status](https://travis-ci.org/erlang-lager/lager.svg?branch=master)]
+[![Build Status](https://github.com/erlang-lager/lager/workflows/build/badge.svg)](https://github.com/erlang-lager/lager)
 [![Hex pm](https://img.shields.io/hexpm/v/lager)](https://hex.pm/packages/lager)
 
 Features
-- 
2.26.2

openSUSE Build Service is sponsored by