Skip to content

Document instructions for validating locally #51

Open

Description

@mr-c

Here is what I had to do:

sudo gem install install_specific
gem install_specific --user-install https://github.com/citation-file-format/ruby-cff.git

and then make a local file test.rb

require 'cff'
begin
  CFF::File.validate!('CITATION.cff')
end
ruby test.rb

Activity

  1. arfon commented on Jul 30, 2021

    @arfon
    Collaborator

    Perhaps this could be manifested as some kind of basic GitHub Action that essentially runs these steps whenever the code is updated?

  2. hainesr commented on Jul 30, 2021

    @hainesr
    Member

    Ooh, a GitHub action to validate CFF files would be ace.

  3. sdruskat commented on Aug 2, 2021

    @sdruskat
    Member

    https://github.com/marketplace/actions/cffconvert has done this for 1.1.0 and older, and will be updated at some point to support 1.2.0. It's a bit clunky atm, and multi-purpose (also used for conversion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions