diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 989b9fc..50b39c0 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,16 +11,11 @@ jobs: build: name: Build and test - runs-on: ubuntu-latest + runs-on: debian-go steps: - name: Checkout uses: actions/checkout@v3 - - - name: Setup Go - uses: actions/setup-go@v4 - with: - go-version: 1.20 - + - name: Build - run: go build -v ./... \ No newline at end of file + run: go build -v ./... diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5ab1350..d6792f4 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -9,17 +9,12 @@ jobs: build: name: Build and test - runs-on: ubuntu-latest + runs-on: debian-go steps: - name: Checkout uses: actions/checkout@v3 - - name: Setup Go - uses: actions/setup-go@v4 - with: - go-version: 1.20 - - name: Build run: go build -v ./... @@ -27,7 +22,7 @@ jobs: name: Release needs: build - runs-on: ubuntu-latest + runs-on: debian-go steps: - name: Checkout @@ -38,11 +33,6 @@ jobs: - name: Fetch tags run: git fetch --force --tags - - name: Setup Go - uses: actions/setup-go@v4 - with: - go-version: 1.20 - - name: Build run: go build -v ./...