Skip to content

Commit

Permalink
ci: use ubuntu-20.04 and on: [push] (#27)
Browse files Browse the repository at this point in the history
* ci: use ubuntu-20.04

* on: [push]
  • Loading branch information
nwtgck authored May 27, 2023
1 parent 6a52401 commit fc59fc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

on: [push, pull_request]
on: [push]

jobs:
build_multi_platform:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Go 1.x
Expand All @@ -30,15 +30,15 @@ jobs:
CGO_ENABLED=0 go build -o "${BUILD_PATH}/piping-tunnel${EXTENSION}" main/main.go
done
operational_test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
steps:
- name: Build SSH server Dockerfile
run: |
docker build -t ssh-server - <<'EOS'
FROM ubuntu:18.04
FROM ubuntu:20.04
RUN apt update
RUN apt install -y openssh-server
RUN mkdir /var/run/sshd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
goreleaser:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit fc59fc1

Please sign in to comment.