Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed Jun 22, 2024
1 parent 76c86dd commit 9a6b50b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with: { python-version: '3.11' }
- run: bazel ${{ matrix.command }} //... -k ${{ matrix.config }} --config=remote --verbose_failures
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: |
git branch -f main origin/main
if: github.ref != 'refs/heads/main'
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with: { python-version: '3.11' }
- name: Install clang-format
run: |
Expand All @@ -37,9 +37,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Set up Go 1.20.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.20.x
cache: false
id: go

- uses: actions/checkout@v4
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: echo "ARCHIVE_NAME=rules/rules_wpiformat/rules_wpiformat-${GITHUB_REF_NAME}.tar.gz" >> "$GITHUB_ENV"

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: "${{ env.ARCHIVE_NAME }}"
Expand Down Expand Up @@ -60,25 +60,23 @@ jobs:

# Create pull requests
- name: Create Gentool Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.AUTO_UPDATE_KEY }}
with:
path: gentool
base: refactor_dev
token: ${{ secrets.AUTO_UPDATE_KEY }}
reviewers: pjreiniger
branch: autoupdate/rules_wpiformat_update_${{ env.NEW_VERSION }}
title: "Auto Update rules_wpiformat module to '${{ env.NEW_VERSION }}'"

- name: Create BCR Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.AUTO_UPDATE_KEY }}
with:
path: bazel-central-registry
base: bzlmodrio
token: ${{ secrets.AUTO_UPDATE_KEY }}
reviewers: pjreiniger
branch: autoupdate/rules_wpiformat_update_${{ env.NEW_VERSION }}
title: "Auto Update latest rules_wpiformat to '${{ env.NEW_VERSION }}'"

0 comments on commit 9a6b50b

Please sign in to comment.