Git Product home page Git Product logo

autograding-github-action's People

Contributors

actions-user avatar dependabot[bot] avatar tobimichael96 avatar uhafner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

autograding-github-action's Issues

"Can't read configuration: default.conf" when no config is provided

Hi,

I was looking for a github actions counterpart to the Warnings NG plugin, and this action seems to be pretty close (even when I understand it was made for a different purpose), so I tried it out and I had this strange error when using it without explicit configuration:

No configuration provided (environment CONFIG not set), using default configuration
Can't read configuration: default.conf

This is the workflow run: https://github.com/fwilhe2/spring-petclinic/actions/runs/4983874769/jobs/8921470121

Here is that version of the workflow causing the error: https://github.com/fwilhe2/spring-petclinic/blob/d9f25097ea4a670d2f33dc9d31830ffca6256cba/.github/workflows/maven-build.yml

This can be mitigated by providing a custom config, but still the default config should be picked up. I have not investigated the issue, I'm assuming it's an issue with the file path in the docker image?

(Sidenote: To me it was not obvious from the readme that the config should be provided inline, making this a bit more clear in the readme would be great, I would gladly provide a PR for that.)

Integrate FileNameResolver

Currently warnings are not shown as annotations in the source files since the corresponding paths are either relative (without preface) or absolute. We should integrate FileNameResolver after reading the reports.

Push Docker images to a registry

Currently the action is built every time. It would make more sense to publish the whole Docker image to a registry so that we can avoid the build step.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.