Skip to content

Add comment

Add comment #25

Workflow file for this run

name: Push

Check failure on line 1 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: build
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Pull mruby
run: make mruby-build/mruby
- name: Read .golangci-lint-version
id: golangci_lint_version
run: echo "version=$(cat .golangci-lint-version)" >> $GITHUB_OUTPUT
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v${{ steps.golangci_lint_version.outputs.version }}
args: --timeout=1m
test:
runs-on: ubuntu-latest
strategy:
matrix:
golang: ["1.22"]
steps:
- uses: actions/checkout@v4
- name: Cache MRuby
uses: actions/cache@v4
with:
path: |
mruby-build
libmruby.a
key: ${{ runner.os }}-${{ hashFiles('Makefile') }}
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.golang }}
- name: Run tests
run: make test
build:
runs-on: ubuntu-latest
needs: [lint, test]