Skip to content

Commit

Permalink
Merge pull request #3566 from edwardspec/github-actions
Browse files Browse the repository at this point in the history
Update versions of GitHub Actions tools
  • Loading branch information
sayterdarkwynd authored May 24, 2024
2 parents a79bbd0 + 780c0ad commit e316249
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on: [push, pull_request, workflow_dispatch]
jobs:
# Check JSON assets for syntax errors.
json-linter:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: ( cd tests/travis && npm install )

Expand All @@ -22,9 +22,9 @@ jobs:
# Check Lua files with "luacheck" tool (Lua static analyzer).
luacheck:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y luarocks && sudo luarocks install luacheck
- name: RUN -- luacheck .
Expand All @@ -33,19 +33,19 @@ jobs:
# Detect non-optimized PNG images (where lossless compression can seriously reduce their filesize).
unoptimized-png-images:
if: ${{ github.base_ref || github.ref != 'refs/heads/master' }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y optipng
- run: .github/scripts/detect-unoptimized-png-images.sh

# Create .pak file for each GitHub release.
pack-assets:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Remove directories that are not needed inside PAK file (e.g. ".git" or "tests")
run: rm -rf .git a_modders tests
- uses: edwardspec/github-action-pack-starbound-mod@v1
Expand Down

0 comments on commit e316249

Please sign in to comment.