Skip to content

Commit

Permalink
Merge pull request #49 from ropensci-review-tools/update-actions
Browse files Browse the repository at this point in the history
chore(ci): update actions/* versions
  • Loading branch information
mpadge authored Jun 25, 2024
2 parents fbf8305 + b31c448 commit 5b9c80d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/move-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
move:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Move tag
run: |
git config user.name "Github Actions"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ github.token }}"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
Expand All @@ -52,14 +52,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
images: ghcr.io/ropensci-review-tools/pkgcheck-action
tags: |
Expand All @@ -69,14 +69,14 @@ jobs:
- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
env:
GITHUB_PAT: ${{ github.token }}
with:
Expand Down
10 changes: 5 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ runs:
steps:
- name: Checkout repo
if: ${{ inputs.ref != ''}}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "${{ inputs.ref }}"
fetch-depth: 0
- uses: docker://ghcr.io/ropensci-review-tools/pkgcheck-action:latest
env:
GITHUB_TOKEN: ${{ github.token }}
id: pkgcheck
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: visual-network
path: "${{ steps.pkgcheck.outputs.visnet_path }}"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: results
path: "${{ steps.pkgcheck.outputs.results }}"
Expand All @@ -73,13 +73,13 @@ runs:
return issue_nr
- id: get-repo
if: ${{ inputs.post-to-issue}}
uses: actions/github-script@v5
uses: actions/github-script@v7
with:
result-encoding: string
script: |
return "${{ github.repository }}".split("/", 2)[1]
- name: Create/Update Issue
uses: actions/github-script@v5
uses: actions/github-script@v7
with:
script: |
const fs = require('fs')
Expand Down

0 comments on commit 5b9c80d

Please sign in to comment.