CFC-Servers / GLuaTest

An exciting and nimble unit testing framework for GLua projects
https://discord.gg/epJK9Xx3pc
GNU General Public License v3.0
51 stars 2 forks source link

Workflow fetches an old version of GLuaTest #19

Closed TomDotBat closed 1 year ago

TomDotBat commented 1 year ago

image

Latest tag is currently 0.15, not 0.9.2.

Here is the workflow I am using:

name: gLuaTest

on:
  pull_request:
  workflow_dispatch:
  push:
    branches:
      - main

jobs:
  run-tests:
    uses: CFC-Servers/GLuaTest/.github/workflows/run_tests.yml@main
brandonsturgeon commented 1 year ago

Well isn't that curious.

I'll take a look

brandonsturgeon commented 1 year ago

Ah, I was using a short-term solution to get the latest branch name. I know that's the wrong way to do it, not sure why I left it in there like that.

git tag lists tags alphabetically, which isn't very helpful for version numbers :)

I pushed a fix. If you're planning to maintain a fork of GLuaTest, you'll want to pull the latest commit into your main branch, but after that, as long as your workflow points to your fork, it should just work.

Let me know!

TomDotBat commented 1 year ago

That fixed the problem for me, cheers! I have a few tests which are dependant on recent changes, would be great if a new tag was made :)

brandonsturgeon commented 1 year ago

My bad! I'm usually good about that. I just pushed 0.21.1