chore: cleanup and bump workflow actions

This commit is contained in:
seth 2024-01-08 15:06:56 -05:00
parent f2a3582c77
commit 48c2dba554
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
3 changed files with 8 additions and 8 deletions

View file

@ -53,7 +53,7 @@ jobs:
- name: Run Clippy - name: Run Clippy
continue-on-error: true continue-on-error: true
run: | run: |
set -euxo pipefail set -euo pipefail
cargo clippy \ cargo clippy \
--all-features \ --all-features \
@ -62,7 +62,7 @@ jobs:
| clippy-sarif | tee /tmp/clippy.sarif | sarif-fmt | clippy-sarif | tee /tmp/clippy.sarif | sarif-fmt
- name: Upload results - name: Upload results
uses: github/codeql-action/upload-sarif@v2 uses: github/codeql-action/upload-sarif@v3
with: with:
sarif_file: /tmp/clippy.sarif sarif_file: /tmp/clippy.sarif
wait-for-processing: true wait-for-processing: true

View file

@ -9,8 +9,8 @@ on:
jobs: jobs:
build: build:
name: Build image name: Build image
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
arch: [x86_64, aarch64] arch: [x86_64, aarch64]
@ -32,7 +32,7 @@ jobs:
echo "path=$(realpath result)" >> "$GITHUB_OUTPUT" echo "path=$(realpath result)" >> "$GITHUB_OUTPUT"
- name: Upload image - name: Upload image
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: container-${{ matrix.arch }} name: container-${{ matrix.arch }}
path: ${{ steps.build.outputs.path }} path: ${{ steps.build.outputs.path }}
@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Download images - name: Download images
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
path: images path: images
@ -74,7 +74,7 @@ jobs:
env: env:
TAG: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest TAG: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
run: | run: |
set -eux set -eu
architectures=("x86_64" "aarch64") architectures=("x86_64" "aarch64")
for arch in "${architectures[@]}"; do for arch in "${architectures[@]}"; do

View file

@ -23,6 +23,6 @@ jobs:
- name: Update and create PR - name: Update and create PR
uses: DeterminateSystems/update-flake-lock@v20 uses: DeterminateSystems/update-flake-lock@v20
with: with:
commit-msg: 'flake: update inputs' commit-msg: 'nix: update inputs'
pr-title: 'flake: update inputs' pr-title: 'nix: update inputs'
token: ${{ github.token }} token: ${{ github.token }}