forked from exercism/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CI: Migrate to GHA * Rename .travis.gofmt.sh to .gha.gofmt.sh * Delete .travis.yml * Delete appveyor.yml * Add caching * Test caching * Revert "Add caching" This reverts commit 0beee42.
- Loading branch information
1 parent
0d998b9
commit d554b9b
Showing
4 changed files
with
43 additions
and
35 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
tests: | ||
name: Go ${{ matrix.go-version }} - ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: ["1.15"] | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | ||
|
||
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Run Tests | ||
run: | | ||
go test -cover ./... | ||
shell: bash | ||
|
||
formatting: | ||
name: Go Format | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | ||
|
||
- name: Check formatting | ||
run: ./.gha.gofmt.sh |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.