Skip to content

Commit

Permalink
migrate to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
WebFreak001 authored and ntrel committed Jul 31, 2023
1 parent cceb253 commit a675eb9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/d.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run sanitycheck

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: dlang-community/setup-dlang@v1

- name: 'Run sanitycheck'
run: |
git clone https://github.com/dlang-tour/core ../tour
mkdir -p ../tour/public/content/lang
mv * ../tour/public/content/lang
export PATH=$PATH:$PWD
(cd ../tour && dub --compiler=${DC} -- --sanitycheck .)
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
English base language version of the DLang Tour
==============================================

[![Build Status](https://travis-ci.org/dlang-tour/english.svg?branch=master)](https://travis-ci.org/dlang-tour/english)
[![sanitycheck build status](https://github.com/dlang-tour/english/actions/workflows/d.yml/badge.svg)](https://github.com/dlang-tour/english/actions/workflows/d.yml)

Found a typo or want to improve the content?
Just click on "edit" and send us a pull request.
Expand Down

0 comments on commit a675eb9

Please sign in to comment.