Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Sep 3, 2023
1 parent 7bc2ad5 commit a7400b7
Showing 1 changed file with 27 additions and 14 deletions.
41 changes: 27 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
on:
push:
paths-ignore:
- "README.rst"
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
compile:
runs-on: ubuntu-latest
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
Expand All @@ -20,18 +23,24 @@ jobs:
- "28.1"
- "29.1"
- "snapshot"
experimental: [false]
include:
- emacs_version: snapshot
experimental: true
steps:
- uses: actions/checkout@v3
- uses: purcell/setup-emacs@master
- uses: "actions/checkout@v3"
- uses: "purcell/setup-emacs@master"
with:
version: ${{ matrix.emacs-version }}
- uses: cask/setup-cask@master
- uses: "cask/setup-cask@master"
with:
version: 0.9.0
- run: make compile
version: "0.9.0"
- run: |
make compile
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
Expand All @@ -44,21 +53,25 @@ jobs:
- "28.1"
- "29.1"
- "snapshot"
experimental: [false]
include:
- emacs_version: snapshot
experimental: true
steps:
- uses: actions/checkout@v3
- uses: purcell/setup-emacs@master
- uses: "actions/checkout@v3"
- uses: "purcell/setup-emacs@master"
with:
version: ${{ matrix.emacs-version }}
- uses: cask/setup-cask@master
- uses: "cask/setup-cask@master"
with:
version: snapshot
- uses: actions/setup-go@v4
version: "0.9.0"
- uses: "actions/setup-go@v4"
with:
go-version: 'stable'
go-version: "stable"
check-latest: true
- name: Install packages
- name: "Install packages"
run: |
go install github.com/pelletier/go-toml/v2/cmd/tomljson@latest
- name: Run tests
- name: "Run tests"
run: |
make test

0 comments on commit a7400b7

Please sign in to comment.