Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate to github actions #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 .)
19 changes: 0 additions & 19 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/chinese/actions/workflows/d.yml/badge.svg)](https://github.com/dlang-tour/chinese/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