Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
push:
pull_request:
workflow_call:
name: build
jobs:
build:
Expand All @@ -10,11 +11,11 @@ jobs:
name: build
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v5
- name: Set up golang
uses: actions/setup-go@v2
uses: actions/setup-go@v6
with:
go-version: 1.21
go-version: 1.24
- name: install dependencies
run: |
sudo apt-get update
Expand All @@ -23,7 +24,7 @@ jobs:
squashfuse squashfs-tools erofs-utils
- name: setup lxc
run: |
chmod ugo+x $HOME
chmod ugo+x "$HOME"
cat /etc/subuid /etc/subgid
u=$(id -un) && g=$(id -gn)
echo "u=$u g=$g"
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
files: ./unit-coverage.txt,./integ-coverage.txt
token: ${{ secrets.CODECOV_TOKEN }} # required
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Install go
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-msg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5
- name: Check Commit Type
uses: gsactions/commit-message-checker@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/nightly.yaml → .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ on:
jobs:
build:
uses: ./.github/workflows/build.yaml
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
secrets: inherit