mas/.github/workflows/build-test.yml
Ben Chatelain baafabab7b 🔧 Add GITHUB_TOKEN
To resolve issues with Carthage connecting to GitHub
*** Skipped downloading Commandant.framework binary due to the error:
116
	"API rate limit exceeded for 199.7.166.17. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)"
2021-03-28 12:11:21 -07:00

31 lines
907 B
YAML

#
# .github/workflows/build-test.yml
#
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
name: Build & Test
on: [push]
jobs:
build-test:
runs-on: macOS-latest
steps:
# https://github.com/actions/checkout#usage
- uses: actions/checkout@master
with:
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow
token: ${{ secrets.GITHUB_TOKEN }}
- name: Bootstrap
run: script/bootstrap
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsenv
env:
# Carthage looks for GITHUB_ACCESS_TOKEN
# https://github.com/Carthage/Carthage/blob/master/Source/CarthageKit/GitHub.swift#L118
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: script/build
- name: Test
run: script/test